Changeset 35592
- Timestamp:
- 11/09/2015 11:33:06 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r35591 r35592 1071 1071 1072 1072 /** 1073 * Filter the output of 'wp_calculate_image_srcset()'.1073 * Filter an image's 'srcset' sources. 1074 1074 * 1075 1075 * @since 4.4.0 1076 1076 * 1077 1077 * @param array $sources { 1078 * An array of sourcesto include in the 'srcset'.1078 * One or more arrays of source data to include in the 'srcset'. 1079 1079 * 1080 1080 * @type type array $width { 1081 * @type type string $url The URL of an image source in the . 1082 * @type type string $descriptor The descriptor type used in the image candidate string, either 'w' or 'x'. 1083 * @type type int $value The source width, if paired with a 'w' descriptor or a pixel density value 1084 * if paired with an 'x' descriptor. 1081 * @type type string $url The URL of an image source. 1082 * @type type string $descriptor The descriptor type used in the image candidate string, 1083 * either 'w' or 'x'. 1084 * @type type int $value The source width, if paired with a 'w' descriptor or a 1085 * pixel density value if paired with an 'x' descriptor. 1085 1086 * } 1086 1087 * }
Note: See TracChangeset
for help on using the changeset viewer.