Skip to content

mc_before_event_no_details

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

Filter container before event details when view details panel is disabled.

Auto-generated Example

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

Parameters

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

Returns

string

Files

apply_filters( 'mc_before_event_no_details', '', $event, $type, $time )

← All Hooks

Clone this wiki locally