wpseek.com
A WordPress-centric search engine for devs and theme authors



twentytwenty_disallowed_post_types_for_meta_output › WordPress Filter Hooks

SinceTwenty Twenty 1.0
Deprecatedn/a
apply_filters( 'twentytwenty_disallowed_post_types_for_meta_output', array( 'page' )
Parameters:
  • (array) Array of post types.
    Required: Yes
Defined at:
Codex:

Filters post types array.

This filter can be used to hide post meta information of post, page or custom post type registered by child themes or plugins.





Source

$disallowed_post_types = apply_filters( 'twentytwenty_disallowed_post_types_for_meta_output', array( 'page' ) );