WordPress at a glance
filter is not described

get_post_galleries filter-hook . WP 3.6.0

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


add_filter( 'get_post_galleries', 'filter_function_name_4767', 10, 2 );
function filter_function_name_4767( $galleries, $post ){
	// filter...

	return $galleries;
Associative array of all found post galleries.
Post object.

Where the hook is called

wp-includes/media.php 3963
return apply_filters( 'get_post_galleries', $galleries, $post );

Where the hook is used (in WP core)

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