get_calendar

get_calendar

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('get_calendar') is found 3 times:

  • /wp-includes/general-template.php line 2256
    	$cache = wp_cache_get( 'get_calendar', 'calendar' );
    
    	if ( $cache && is_array( $cache ) && isset( $cache[ $key ] ) ) {
    		/** This filter is documented in wp-includes/general-template.php */
    		$output = apply_filters( 'get_calendar', $cache[ $key ] );
    
    		if ( $display ) {
    			echo $output;
    			return;
    		}
    
    
  • /wp-includes/general-template.php line 2463
    		 * @since 3.0.0
    		 *
    		 * @param string $calendar_output HTML output of the calendar.
    		 */
    		echo apply_filters( 'get_calendar', $calendar_output );
    		return;
    	}
    	/** This filter is documented in wp-includes/general-template.php */
    	return apply_filters( 'get_calendar', $calendar_output );
    }
    
    
  • /wp-includes/general-template.php line 2467
    		echo apply_filters( 'get_calendar', $calendar_output );
    		return;
    	}
    	/** This filter is documented in wp-includes/general-template.php */
    	return apply_filters( 'get_calendar', $calendar_output );
    }
    
    /**
     * Purges the cached results of get_calendar.
     *
     * @see get_calendar()