get_calendar filter-hookWP 3.0.0

Filters the HTML calendar output.

Usage

add_filter( 'get_calendar', 'wp_kama_get_calendar_filter' );

/**
 * Function for `get_calendar` filter-hook.
 * 
 * @param string $calendar_output HTML output of the calendar.
 *
 * @return string
 */
function wp_kama_get_calendar_filter( $calendar_output ){

	// filter...
	return $calendar_output;
}
$calendar_output(string)
HTML output of the calendar.

Changelog

Since 3.0.0 Introduced.

Where the hook is called

get_calendar()
get_calendar
wp-includes/general-template.php 2449
echo apply_filters( 'get_calendar', $calendar_output );
wp-includes/general-template.php 2242
$output = apply_filters( 'get_calendar', $cache[ $key ] );
wp-includes/general-template.php 2453
return apply_filters( 'get_calendar', $calendar_output );

Where the hook is used in WordPress

Usage not found.