mc_subheading_level - joedolson/my-calendar GitHub Wiki
Filter subheading levels inside event content.
Auto-generated Example
add_filter(
'mc_subheading_level',
function(
string,
string $type,
string $time,
string $template
) {
// Your code here.
return string;
},
10,
4
);
Parameters
string$sublevel Element name. Default 'h4' in grouped templates, h2 on single templates. Other variable names:$sublevelstring$typeView type.string$timeView timeframe.string$templateCurrent template.
Files
apply_filters( 'mc_subheading_level', $sublevel, $type, $time, 'php' )
apply_filters( 'mc_subheading_level', $sublevel, 'php', '', '' )