Skip to content

mc_event_registration_form

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

Filter event registration form for event input.

Auto-generated Example

add_filter(
   'mc_event_registration_form',
    function(
        string $form,
        bool $has_data,
        object $data,
        string $context
    ) {
        // Your code here.
        return $form;
    },
    10,
    4
);

Parameters

  • string $form Default form HTML output.
  • bool $has_data If this event has data.
  • object $data Event object.
  • string $context Admin context.

Returns

string

Files

apply_filters( 'mc_event_registration_form', $form, $has_data, $data, 'admin' )

← All Hooks

Clone this wiki locally