apply_filters( ‘get_post_galleries’, array $galleries, WP_Post $post )

In this article

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

Parameters

$galleriesarray
Associative array of all found post galleries.
$postWP_Post
Post object.

Source

$has_inner_blocks = ! empty( $block['innerBlocks'] );

Changelog

VersionDescription
3.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.