Skip to content

mc_template

github-actions[bot] edited this page Jun 3, 2026 · 4 revisions

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 $template Formatted HTML output of a template.
  • array $array Array of arguments passed to template.
  • string $type Type of view being rendered.
  • object $event Event object.

Returns

string Formatted HTML.

Files

apply_filters( 'mc_template', $template, $data, $meta_type, $event )

← All Hooks

Clone this wiki locally