mc_upcoming_date_to - joedolson/my-calendar GitHub Wiki
Custom upcoming events date end value for upcoming events lists using date parameters.
Auto-generated Example
add_filter(
'mc_upcoming_date_to',
function(
string $to,
array $args
) {
// Your code here.
return $to;
},
10,
2
);
Parameters
string$toEnding 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 ending date.
Files
apply_filters( 'mc_upcoming_date_to', $args['to'], $args )