1038 | | * @param array $size_array Array of width and height values in pixels (in that order). |
1039 | | * @param string $image_src The 'src' of the image. |
1040 | | * @param array $image_meta The image meta data as returned by 'wp_get_attachment_metadata()'. |
1041 | | * @param int $attachment_id Optional. The image attachment ID to pass to the filter. Default 0. |
1042 | | * @return string|bool The 'srcset' attribute value. False on error or when only one source exists. |
| 1038 | * @param array $size_array Array of width and height values in pixels (in that order). |
| 1039 | * @param string $image_src The 'src' of the image. |
| 1040 | * @param array $image_meta The image meta data as returned by 'wp_get_attachment_metadata()'. |
| 1041 | * @param int $attachment_id Optional. The image attachment ID to pass to the filter. Default 0. |
| 1042 | * @param array $block_attributes Optional. Block attributes when an image block is rendered. |
| 1043 | * @return string|bool The 'srcset' attribute value. False on error or when only one source exists. |
1198 | | * @param array $size_array Array of width and height values in pixels (in that order). |
1199 | | * @param string $image_src The 'src' of the image. |
1200 | | * @param array $image_meta The image meta data as returned by 'wp_get_attachment_metadata()'. |
1201 | | * @param int $attachment_id Image attachment ID or 0. |
| 1199 | * @param array $size_array Array of width and height values in pixels (in that order). |
| 1200 | * @param string $image_src The 'src' of the image. |
| 1201 | * @param array $image_meta The image meta data as returned by 'wp_get_attachment_metadata()'. |
| 1202 | * @param int $attachment_id Image attachment ID or 0. |
| 1203 | * @param array|null $block_attributes Block attributes when an image block is rendered or null. |
1256 | | * @param array|string $size Image size to retrieve. Accepts any valid image size, or an array |
1257 | | * of width and height values in pixels (in that order). Default 'medium'. |
1258 | | * @param string $image_src Optional. The URL to the image file. Default null. |
1259 | | * @param array $image_meta Optional. The image meta data as returned by 'wp_get_attachment_metadata()'. |
1260 | | * Default null. |
1261 | | * @param int $attachment_id Optional. Image attachment ID. Either `$image_meta` or `$attachment_id` |
1262 | | * is needed when using the image size name as argument for `$size`. Default 0. |
| 1258 | * @param array|string $size Image size to retrieve. Accepts any valid image size, or an array |
| 1259 | * of width and height values in pixels (in that order). Default 'medium'. |
| 1260 | * @param string $image_src Optional. The URL to the image file. Default null. |
| 1261 | * @param array $image_meta Optional. The image meta data as returned by 'wp_get_attachment_metadata()'. |
| 1262 | * Default null. |
| 1263 | * @param int $attachment_id Optional. Image attachment ID. Either `$image_meta` or `$attachment_id` |
| 1264 | * is needed when using the image size name as argument for `$size`. Default 0. |
| 1265 | * @param array $block_attributes Optional. Block attributes when an image block is rendered. |
1295 | | * @param string $sizes A source size value for use in a 'sizes' attribute. |
1296 | | * @param array|string $size Requested size. Image size or array of width and height values |
1297 | | * in pixels (in that order). |
1298 | | * @param string|null $image_src The URL to the image file or null. |
1299 | | * @param array|null $image_meta The image meta data as returned by wp_get_attachment_metadata() or null. |
1300 | | * @param int $attachment_id Image attachment ID of the original image or 0. |
| 1298 | * @param string $sizes A source size value for use in a 'sizes' attribute. |
| 1299 | * @param array|string $size Requested size. Image size or array of width and height values |
| 1300 | * in pixels (in that order). |
| 1301 | * @param string|null $image_src The URL to the image file or null. |
| 1302 | * @param array|null $image_meta The image meta data as returned by wp_get_attachment_metadata() or null. |
| 1303 | * @param int $attachment_id Image attachment ID of the original image or 0. |
| 1304 | * @param array|null $block_attributes Block attributes when an image block is rendered or null. |