WordPress at a glance
filter is not described

get_post_gallery filter-hook . WP 3.6.0

Filters the first-found post gallery.


add_filter( 'get_post_gallery', 'filter_function_name_3475', 10, 3 );
function filter_function_name_3475( $gallery, $post, $galleries ){
	// filter...

	return $gallery;
The first-found post gallery.
Post ID or object.
Associative array of all found post galleries.

Where the hook is called

wp-includes/media.php 3988
return apply_filters( 'get_post_gallery', $gallery, $post, $galleries );

Where the hook is used (in WP core)

Использование не найдено.