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



get_calendar_args › WordPress过滤钩子

Since6.8.0
已弃用n/a
› apply_filters( 'get_calendar_args', wp_parse_args( $args, $defaults )
参数:
  • () args { Optional. Arguments for the `get_calendar` function. @type bool $initial Whether to use initial calendar names. Default true. @type bool $display Whether to display the calendar output. Default true. @type string $post_type Optional. Post type. Default 'post'. }
    Required: Yes
定义在:
文档:

Filter the `get_calendar` function arguments before they are used.





源码

$args = apply_filters( 'get_calendar_args', wp_parse_args( $args, $defaults ) );