Skip to content

mc_after_event

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

Append content after single event. Default empty string.

Auto-generated Example

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

Parameters

  • string $details HTML content. Default empty.
  • object $event My Calendar event object.
  • string $type View type.
  • string $time View timeframe.
  • string $process_date Date currently being processed.

Returns

string

Files

apply_filters( 'mc_after_event', '', $event, $type, $time, $process_date )
apply_filters( 'mc_after_event', '', $event, 'single', $time, $date )

← All Hooks

Clone this wiki locally