-
Notifications
You must be signed in to change notification settings - Fork 16
mc_api_key
Joe Dolson edited this page May 15, 2026
·
4 revisions
Filter to test access to the event API. Default 'true'.
add_filter(
'mc_api_key',
function( {bool} $api_key ) {
// Your code here.
return $api_key;
}
);-
{bool}$api_keyReturn true to allow access. Use filter to control or limit access.
{bool}
apply_filters( 'mc_api_key', true )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 )