mc_upcoming_date_from - joedolson/my-calendar GitHub Wiki
Custom upcoming events date start value for upcoming events lists using date parameters.
Auto-generated Example
add_filter(
'mc_upcoming_date_from',
function(
string $from,
array $args
) {
// Your code here.
return $from;
},
10,
2
);
Parameters
string$fromStarting date for this list of upcoming events in Y-m-d format.array$argsAssociative array holding the arguments used to generate this list of upcoming events.
Returns
string List starting date.
Files
apply_filters( 'mc_upcoming_date_from', $args['from'], $args )