apply_filters( 'get_post_galleries', array $galleries, WP_Post $post )

Filters the list of all found galleries in the given post.

Parameters

$galleries

(array) Associative array of all found post galleries.

$post

(WP_Post) Post object.

Source

File: wp-includes/media.php

View on Trac

Changelog

Version Description
3.6.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_post_galleries