A WordPress-centric search engine for devs and theme authors



get_post_galleries ›

Since3.6.0
Deprecatedn/a
apply_filters( 'get_post_galleries', $galleries, $post )
Parameters: (2)
  • (array) $galleries Associative array of all found post galleries.
    Required: Yes
  • (WP_Post) $post Post object.
    Required: Yes
Defined at:
Codex:

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





Source

return apply_filters( 'get_post_galleries', $galleries, $post );