Skip to content

mc_include_today_in_total

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

Should today's events be counted towards total number of upcoming events. Default yes. Any value other than 'no' will be interpreted as 'yes'.

Auto-generated Example

add_filter(
   'mc_include_today_in_total',
    function( string string ) {
        // Your code here.
        return string;
    }
);

Parameters

  • string string $in_total Return 'no' to exclude today's events from event count. Default 'yes'. Other variable names: $yes

Returns

string 'yes' or 'no'.

Files

apply_filters( 'mc_include_today_in_total', 'yes' )

← All Hooks

Clone this wiki locally