Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



twentytwenty_disallowed_post_types_for_meta_output ›

SeitTwenty Twenty 1.0
Veraltetn/v
apply_filters( 'twentytwenty_disallowed_post_types_for_meta_output', array( 'page' )
Parameter:
  • (array) Array of post types
    Erforderlich: Ja
Definiert in:
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





Quellcode

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