mc_heading - joedolson/my-calendar GitHub Wiki
Filter the main calendar heading in multiday views.
Auto-generated Example
add_filter(
'mc_heading',
function(
string $heading,
string $format,
string $time,
string $template
) {
// Your code here.
return $heading;
},
10,
4
);
Parameters
string$headingHTML heading for calendar.string$formatViewed format.string$timeTime frame currently viewed.string$templateHeading template.
Returns
string
Files
apply_filters( 'mc_heading', date_i18n( $date_format, $current ), $params['format'], $params['time'] )
apply_filters( 'mc_heading', $heading, $params['format'], $params['time'], $template )