Skip to content

mc_inner_content

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

Filter event content inside wrapper.

Auto-generated Example

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

Parameters

  • string $detail Event details.
  • object $event My Calendar event object.
  • string $type View type.
  • string $time View timeframe. Empty when run as a pre-templating filter.

Returns

string

Files

apply_filters( 'mc_inner_content', $details, $event, $type, $time )
apply_filters( 'mc_inner_content', $data[ $field ], $event, $meta_type, '' )

← All Hooks

Clone this wiki locally