Filter the get_calendar function arguments before they are used.
Parameters
$argsarray- Arguments for the
get_calendarfunction.
initialboolWhether to use initial calendar names. Default true.displayboolWhether to display the calendar output. Default true.post_typestringOptional. Post type. Default'post'.
Source
$args = apply_filters( 'get_calendar_args', wp_parse_args( $args, $defaults ) );
Changelog
| Version | Description |
|---|---|
| 6.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.