mc_include_today_in_total - joedolson/my-calendar GitHub Wiki
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
stringstring$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' )