-
Notifications
You must be signed in to change notification settings - Fork 16
mc_month_format
github-actions[bot] edited this page Jun 3, 2026
·
5 revisions
Filter the date format used for previous link if the previous link is in the same year.
add_filter(
'mc_month_format',
function(
string $format,
array $date,
string $format,
string $time,
string $month
) {
// Your code here.
return $format;
},
10,
5
);-
string$formatPHP Date format string. -
array$dateCurrent date array. -
string$formatView format. -
string$timeView time frame. -
string$monthmonth used in navigation reference (next month.)
string
apply_filters( 'mc_month_format', 'F', $date, $format, $time, $month )apply_filters( 'mc_month_format', 'F', $date, $format, $time, $month )Replace the list footer for upcoming events lists. Default value </ul></div>.
add_filter(
'mc_upcoming_events_footer',
function( string $header ) {
// Your code here.
return $header;
}
);-
string$headerExisting upcoming events footer HTML.
string List header HTML.
apply_filters( 'mc_upcoming_events_footer', $footer )