Skip to content

mc_event_content

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

Filter details output.

Auto-generated Example

add_filter(
   'mc_event_content',
    function(
        string $details,
        object $event,
        string $type,
        string $time
    ) {
        // Your code here.
        return $details;
    },
    10,
    4
);

Parameters

  • string $details HTML content.
  • object $event My Calendar event object.
  • string $type View type.
  • string $time View timeframe.

Returns

string

Files

apply_filters( 'mc_event_content', $details, $event, $type, $time )

← All Hooks

Clone this wiki locally