Action: mc_hide_past_dates

do_action( 'mc_hide_past_dates', $hide_past_dates, $params )

Filter whether past dates are hidden in the initial list view. Dates are only hidden when no date parameters are set in the URL.

Parameters:
Name Type Description
$hide_past_dates bool

Whether to hide past dates.

$params array

Current view parameters.

Source: