Skip to content

mc_happening_now_template

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

Customize the template used to draw the "happening now" shortcode output.

Auto-generated Example

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

Parameters

  • string $template HTML and template tags.
  • object $event Event object to draw.

Returns

string

Files

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

← All Hooks

Clone this wiki locally