Skip to content

mc_event_registration

github-actions[bot] edited this page Jun 14, 2026 · 7 revisions

Filter event registration fields.

Auto-generated Example

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

Parameters

  • string $output HTML output. Default empty.
  • bool $has_data Whether this event has data.
  • object $data Event data object.
  • string $context Indicates this is running in the admin.

Returns

string

Files

apply_filters( 'mc_event_registration', '', $has_data, $data, 'admin' )
apply_filters( 'mc_event_registration', '', $has_data, $data, 'admin' )

← All Hooks

Clone this wiki locally