Skip to content

mc_event_details

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

Render custom fields in the admin.

Auto-generated Example

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

Parameters

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

Returns

string

Files

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

← All Hooks

Clone this wiki locally