wpseek.com
A WordPress-centric search engine for devs and theme authors



get_calendar_args › WordPress Filter Hooks

Since6.8.0
Deprecatedn/a
apply_filters( 'get_calendar_args', wp_parse_args( $args, $defaults )
Parameters:
  • (array) $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
Returns:
  • ()
Defined at:
Codex:

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





Source

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