get_calendar_args

get_calendar_args

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.9

apply_filters('get_calendar_args') is found 1 times:

  • /wp-includes/general-template.php line 2299
    	 *     @type bool   $display   Whether to display the calendar output. Default true.
    	 *     @type string $post_type Optional. Post type. Default 'post'.
    	 * }
    	 */
    	$args = apply_filters( 'get_calendar_args', wp_parse_args( $args, $defaults ) );
    
    	if ( ! post_type_exists( $args['post_type'] ) ) {
    		$args['post_type'] = 'post';
    	}
    
    	$w = 0;