mc_happening_next_template - joedolson/my-calendar GitHub Wiki

Customize the template used to draw the next event shortcode output.

Auto-generated Example

add_filter(
   'mc_happening_next_template',
    function(
        string $template,
        array $event
    ) {
        // Your code here.
        return $template;
    },
    10,
    2
);

Parameters

  • string $template HTML and template tags.
  • array $event Array of event tags to draw.

Returns

string

Files

apply_filters( 'mc_happening_next_template', $template, $event )

← All Hooks