A WordPress-centric search engine for devs and theme authors



twentytwenty_disallowed_post_types_for_meta_output ›

Since1.0.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 registerd by child themes or plugins





Source

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