apply_filters( 'get_post_gallery', array $gallery , int|WP_Post $post , array $galleries )
Filters the first-found post gallery.
Description Description
Parameters 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 Source
File: wp-includes/media.php
Changelog Changelog
Version | Description |
---|---|
3.6.0 | Introduced. |