Changeset 52332 for trunk/src/wp-includes/media.php
- Timestamp:
- 12/07/2021 12:18:50 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r52299 r52332 883 883 * @uses get_intermediate_image_sizes() 884 884 * 885 * @return array Associative array of the registered image sub-sizes. 885 * @return array[] Associative array of arrays of image sub-size information, 886 * keyed by image size name. 886 887 */ 887 888 function wp_get_registered_image_subsizes() { … … 5212 5213 5213 5214 /** 5214 * Extracts meta information about a webp file: width, heightand type.5215 * Extracts meta information about a WebP file: width, height, and type. 5215 5216 * 5216 5217 * @since 5.8.0 5217 5218 * 5218 5219 * @param string $filename Path to a WebP file. 5219 * @return array $webp_info{5220 * @return array { 5220 5221 * An array of WebP image information. 5221 5222 * 5222 * @type array $size { 5223 * @type int|false $width Image width on success, false on failure. 5224 * @type int|false $height Image height on success, false on failure. 5225 * @type string|false $type The WebP type: one of 'lossy', 'lossless' or 'animated-alpha'. 5226 * False on failure. 5227 * } 5223 * @type int|false $width Image width on success, false on failure. 5224 * @type int|false $height Image height on success, false on failure. 5225 * @type string|false $type The WebP type: one of 'lossy', 'lossless' or 'animated-alpha'. 5226 * False on failure. 5227 * } 5228 5228 */ 5229 5229 function wp_get_webp_info( $filename ) {
Note: See TracChangeset
for help on using the changeset viewer.