mc_upcoming_events_template - joedolson/my-calendar GitHub Wiki
Pass a custom template to the upcoming events list. Template can either be a template key referencing a stored template or a template pattern using {} template tags.
Auto-generated Example
add_filter(
'mc_upcoming_events_template',
function( string $template ) {
// Your code here.
return $template;
}
);
Parameters
string$templateUn-parsed template.
Returns
string Template string.
Files
apply_filters( 'mc_upcoming_events_template', $args['template'] )