-
Notifications
You must be signed in to change notification settings - Fork 16
mc_use_permalinks
github-actions[bot] edited this page Jun 14, 2026
·
7 revisions
Check whether permalinks are enabled.
add_filter(
'mc_use_permalinks',
function( string $option ) {
// Your code here.
return $option;
}
);-
string$optionValue of mc_use_permalinks setting.
string 'true' value if permalinks are enabled.
apply_filters( 'mc_use_permalinks', mc_get_option( 'use_permalinks' ) )apply_filters( 'mc_use_permalinks', mc_get_option( 'use_permalinks' ) )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 )