get_post_gallery

Advertisement

Summery Summery

Filters the first-found post gallery.

Syntax Syntax

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

Parameters Parameters

$gallery

The first-found post gallery.

$post

Post ID or object.

$galleries

Associative array of all found post galleries.

Source Source

File: wp-includes/media.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.6.0 Introduced.

Advertisement

Leave a Reply