get_post_gallery_images


get_post_gallery_images ( $post = 0 )

Parameters:
  • (int|WP_Post) $post Optional. Post ID or WP_Post object. Default is global `$post`.
See:
Returns:
  • (array) A list of a gallery's image srcs in order.
Defined at:

Description

Checks a post's content for galleries and return the image srcs for the first found gallery

Related Functions

get_post_galleries_images, get_post_galleries, get_post_gallery, get_post_time, get_header_image

Top Google Results

User discussions

wpseek mobile