Summery Summery
Checks a post’s content for galleries and return the image srcs for the first found gallery
Syntax Syntax
Parameters Parameters
- $post
-
(Optional) Post ID or WP_Post object. Default is global
$post
.
Return Return
(string[]) A list of a gallery's image srcs in order.
Source Source
File: wp-includes/media.php
'skipCropping' => __( 'Skip cropping' ), 'cropImage' => __( 'Crop image' ), 'cropYourImage' => __( 'Crop your image' ), 'cropping' => __( 'Cropping…' ),
Advertisement
Changelog Changelog
Version | Description |
---|---|
3.6.0 | Introduced. |