Skip to content

mc_before_calendar

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

Prepend content before the calendar.

Auto-generated Example

add_filter(
   'mc_before_calendar',
    function(
        string $before,
        array $params
    ) {
        // Your code here.
        return $before;
    },
    10,
    2
);

Parameters

  • string $before HTML content.
  • array $params Current view arguments.

Returns

string

Files

apply_filters( 'mc_before_calendar', '', $params )

← All Hooks

Clone this wiki locally