- Timestamp:
- 08/12/2021 07:29:43 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentynineteen/inc/template-functions.php
r49183 r51607 97 97 98 98 /** 99 * Add custom sizesattribute to responsive image functionality for post thumbnails.99 * Add custom 'sizes' attribute to responsive image functionality for post thumbnails. 100 100 * 101 101 * @origin Twenty Nineteen 1.0 102 102 * 103 * @param array $attr Attributes for the image markup. 104 * @return string Value for use in post thumbnail 'sizes' attribute. 103 * @param string[] $attr Array of attribute values for the image markup, keyed by attribute name. 104 * See wp_get_attachment_image(). 105 * @return string[] The filtered attributes for the image markup. 105 106 */ 106 107 function twentynineteen_post_thumbnail_sizes_attr( $attr ) {
Note: See TracChangeset
for help on using the changeset viewer.