Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/media.php | apply_filters | 5025 | /** * Filters the first-found post gallery. * * @since 3.6.0 * * @param array $gallery The first-found post gallery. * @param int|WP_Post $post Post ID or object. * @param array $galleries Associative array of all found post galleries. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
array | $gallery | The first-found post gallery. |
int|WP_Post | $post | Post ID or object. |
array | $galleries | Associative array of all found post galleries. |