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



twentytwenty_disallowed_post_types_for_meta_output › WordPress Filter Hooks

Sincen/a
Deprecatedn/a
› apply_filters( 'twentytwenty_disallowed_post_types_for_meta_output', array( 'page' )
Parameters:
  • () post_types 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' ) );