get_post_galleries_images

Advertisement

Summery Summery

Retrieve the image srcs from galleries from a post’s content, if present

Syntax Syntax

get_post_galleries_images( int|WP_Post $post )

Parameters Parameters

$post

(int|WP_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


			

Advertisement

Changelog Changelog

Changelog
Version Description
3.6.0 Introduced.

See also See also

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.