Skip to content

mc_hide_additional_days

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

Hide subsequent days of events crossing multiple days.

Auto-generated Example

add_filter(
   'mc_hide_additional_days',
    function(
        bool,
        object $event
    ) {
        // Your code here.
        return bool;
    },
    10,
    2
);

Parameters

  • bool $hide_days_default False if 'same day event' not checked. Other variable names: $hide_days_default
  • object $event Event object.

Returns

bool

Files

apply_filters( 'mc_hide_additional_days', $hide_days_default, $event )

← All Hooks

Clone this wiki locally