apply_filters( 'get_post_gallery', array $gallery, int|WP_Post $post, array $galleries )

Filters the first-found post gallery.


Parameters

$gallery

The first-found post gallery.

$post

Post ID or object.

$galleries

Associative array of all found post galleries.


Source

File: wp-includes/media.php

View on GitHub


Changelog

Changelog
Version Description
WP-3.6.0 Introduced.