mc_hide_additional_days - joedolson/my-calendar GitHub Wiki

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