Changeset 34470
- Timestamp:
- 09/24/2015 03:13:08 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r34372 r34470 693 693 * A mime icon for files, thumbnail or intermediate size for images. 694 694 * 695 * The returned array contains four values: the URL of the attachment image src, 696 * the width of the image file, the height of the image file, and a boolean 697 * representing whether the returned array describes an intermediate (generated) 698 * image size or the original, full-sized upload. 699 * 695 700 * @since 2.5.0 696 701 * … … 699 704 * array of height and width dimensions. Default 'thumbnail'. 700 705 * @param bool $icon Optional. Whether the image should be treated as an icon. Default false. 701 * @return false|array Returns an array (url, width, height ), or false, if no image is available.706 * @return false|array Returns an array (url, width, height, is_intermediate), or false, if no image is available. 702 707 */ 703 708 function wp_get_attachment_image_src( $attachment_id, $size = 'thumbnail', $icon = false ) {
Note: See TracChangeset
for help on using the changeset viewer.