- Timestamp:
- 12/17/2020 03:08:06 PM (4 years ago)
- Location:
- branches/5.6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.6
-
branches/5.6/src/wp-content/themes/twentytwentyone/inc/template-functions.php
r49574 r49829 5 5 * @package WordPress 6 6 * @subpackage Twenty_Twenty_One 7 * @since 1.0.07 * @since Twenty Twenty-One 1.0 8 8 */ 9 9 … … 11 11 * Adds custom classes to the array of body classes. 12 12 * 13 * @since 1.0.013 * @since Twenty Twenty-One 1.0 14 14 * 15 15 * @param array $classes Classes for the body element. … … 42 42 * Adds custom class to the array of posts classes. 43 43 * 44 * @since 1.0.044 * @since Twenty Twenty-One 1.0 45 45 * 46 46 * @param array $classes An array of CSS classes. … … 58 58 * Add a pingback url auto-discovery header for single posts, pages, or attachments. 59 59 * 60 * @since 1.0.060 * @since Twenty Twenty-One 1.0 61 61 * 62 62 * @return void … … 72 72 * Remove the `no-js` class from body if JS is supported. 73 73 * 74 * @since 1.0.074 * @since Twenty Twenty-One 1.0 75 75 * 76 76 * @return void … … 84 84 * Changes comment form default fields. 85 85 * 86 * @since 1.0.086 * @since Twenty Twenty-One 1.0 87 87 * 88 88 * @param array $defaults The form defaults. … … 102 102 * Determines if post thumbnail can be displayed. 103 103 * 104 * @since 1.0.0104 * @since Twenty Twenty-One 1.0 105 105 * 106 106 * @return bool … … 116 116 * Returns the size for avatars used in the theme. 117 117 * 118 * @since 1.0.0118 * @since Twenty Twenty-One 1.0 119 119 * 120 120 * @return int … … 165 165 * Add a title to posts and pages that are missing titles. 166 166 * 167 * @since 1.0.0167 * @since Twenty Twenty-One 1.0 168 168 * 169 169 * @param string $title The title. … … 180 180 * Gets the SVG code for a given icon. 181 181 * 182 * @since 1.0.0182 * @since Twenty Twenty-One 1.0 183 183 * 184 184 * @param string $group The icon group. … … 324 324 * Print the first instance of a block in the content, and then break away. 325 325 * 326 * @since 1.0.0326 * @since Twenty Twenty-One 1.0 327 327 * 328 328 * @param string $block_name The full block type name, or a partial match. … … 387 387 * Retrieve protected post password form content. 388 388 * 389 * @since 1.0.0389 * @since Twenty Twenty-One 1.0 390 390 * 391 391 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global $post. … … 406 406 * Filters the list of attachment image attributes. 407 407 * 408 * @since 1.0.0408 * @since Twenty Twenty-One 1.0 409 409 * 410 410 * @param array $attr Array of attribute values for the image markup, keyed by attribute name.
Note: See TracChangeset
for help on using the changeset viewer.