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



pre_months_dropdown_query › WordPress过滤钩子

Since5.7.0
已弃用n/a
› apply_filters( 'pre_months_dropdown_query', false, $post_type )
参数: (2)
  • () months 'Months' drop-down results. Default false.
    Required: Yes
  • () post_type The post type.
    Required: Yes
定义在:
文档:

Filters whether to short-circuit performing the months dropdown query.





源码

$months = apply_filters( 'pre_months_dropdown_query', false, $post_type );