Filters the first-found post gallery.
Parameters
$gallery
array- The first-found post gallery.
$post
int|WP_Post- Post ID or object.
$galleries
array- Associative array of all found post galleries.
Source
return apply_filters( 'get_post_gallery', $gallery, $post, $galleries );
Changelog
Version | Description |
---|---|
3.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.