Filter the get_calendar
function arguments before they are used.
Parameters
$args
array- Arguments for the
get_calendar
function.
initial
boolWhether to use initial calendar names. Default true.display
boolWhether to display the calendar output. Default true.post_type
stringOptional. 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.