wpseek.com
WordPress开发者和主题制作者的搜索引擎



twentytwenty_disallowed_post_types_for_meta_output › WordPress过滤钩子

SinceTwenty Twenty 1.0
已弃用n/a
apply_filters( 'twentytwenty_disallowed_post_types_for_meta_output', array( 'page' )
参数:
  • (array) Array of post types.
    Required: Yes
定义在:
文档:

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.





源码

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