Changeset 32949
- Timestamp:
- 06/25/2015 09:01:56 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r32914 r32949 712 712 } 713 713 /** 714 * Filter the image src result 714 * Filter the image src result. 715 715 * 716 716 * @since 4.3.0 717 717 * 718 * @param array|false $imageEither array with src, width & height, icon src, or false.719 * @param int $attachment_idImage attachment ID.720 * @param string|array $size Optional.Registered image size to retrieve the source for or a flat721 * 722 * @param bool $icon Optional.Whether the image should be treated as an icon. Default false.718 * @param array|false $image Either array with src, width & height, icon src, or false. 719 * @param int $attachment_id Image attachment ID. 720 * @param string|array $size Registered image size to retrieve the source for or a flat 721 * array of height and width dimensions. Default 'thumbnail'. 722 * @param bool $icon Whether the image should be treated as an icon. Default false. 723 723 */ 724 724 return apply_filters( 'attachment_image_src', $image, $attachment_id, $size, $icon );
Note: See TracChangeset
for help on using the changeset viewer.