Skip to content

mc_inner_content

github-actions[bot] edited this page May 15, 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 HTML with event data.
  • {object} $event My Calendar event object.
  • {string} $type View type.
  • {string} $time View timeframe.

Returns

{string} Returning any non-empty string will shortcircuit template drawing.

Files

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

← All Hooks

Clone this wiki locally