Summery Summery
Retrieve the image srcs from galleries from a post’s content, if present
Syntax Syntax
Parameters Parameters
- $post
-
(Optional) Post ID or WP_Post object. Default is global
$post
.
Return Return
(array) A list of lists, each containing image srcs parsed. from an expanded shortcode
Source Source
File: wp-includes/media.php
'insertGallery' => __( 'Insert gallery' ), 'updateGallery' => __( 'Update gallery' ), 'addToGallery' => __( 'Add to gallery' ), 'addToGalleryTitle' => __( 'Add to gallery' ),
Advertisement
Changelog Changelog
Version | Description |
---|---|
3.6.0 | Introduced. |