mc_template - joedolson/my-calendar GitHub Wiki
Filter a rendered My Calendar template after parsing.
Auto-generated Example
add_filter(
'mc_template',
function(
string $template,
array $array,
string $type,
object $event
) {
// Your code here.
return $template;
},
10,
4
);
Parameters
string$templateFormatted HTML output of a template.array$arrayArray of arguments passed to template.string$typeType of view being rendered.object$eventEvent object.
Returns
string Formatted HTML.
Files
apply_filters( 'mc_template', $template, $data, $meta_type, $event )