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



months_dropdown_results ›

Since3.7.0
已弃用n/a
apply_filters( 'months_dropdown_results', $months, $post_type )
参数: (2)
  • (object) $months The months drop-down query results.
    Required: Yes
  • (string) $post_type The post type.
    Required: Yes
定义在:
文档:

Filters the 'Months' drop-down results.





源码

$months = apply_filters( 'months_dropdown_results', $months, $post_type );