-
Notifications
You must be signed in to change notification settings - Fork 16
mc_legacy_templates_enabled
github-actions[bot] edited this page Jun 3, 2026
·
4 revisions
Filter legacy templates status. New templates are intended for release with version 3.5.0 and will be in alpha at least through then.
add_filter(
'mc_legacy_templates_enabled',
function( bool ) {
// Your code here.
return bool;
}
);-
bool$enabled Return 'true' to use legacy templates. Other variable names:$legacy
bool
apply_filters( 'mc_legacy_templates_enabled', $legacy )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 )