mc_hide_nextmonth - joedolson/my-calendar GitHub Wiki

Hide events in next or previous month in grid view.

Auto-generated Example

add_filter(
   'mc_hide_nextmonth',
    function( bool $hide ) {
        // Your code here.
        return $hide;
    }
);

Parameters

  • bool $hide true to hide events not in the currently viewed month.

Returns

bool

Files

apply_filters( 'mc_hide_nextmonth', false )

← All Hooks