Skip to content

mc_before_event_form

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

Insert content before the event form. Not in the form.

Auto-generated Example

add_filter(
   'mc_before_event_form',
    function(
        string $output,
        int $event_id
    ) {
        // Your code here.
        return $output;
    },
    10,
    2
);

Parameters

  • string $output HTML output. Default empty string.
  • int $event_id Event ID.

Returns

string

Files

apply_filters( 'mc_before_event_form', '', $event_id )

← All Hooks

Clone this wiki locally