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



disable_months_dropdown ›

Since4.2.0
已弃用n/a
apply_filters( 'disable_months_dropdown', false, $post_type )
参数: (2)
  • (bool) $disable Whether to disable the drop-down. Default false.
    Required: Yes
  • (string) $post_type The post type.
    Required: Yes
定义在:
文档:

Filters whether to remove the 'Months' drop-down from the post list table.





源码

if ( apply_filters( 'disable_months_dropdown', false, $post_type ) ) {