-
Notifications
You must be signed in to change notification settings - Fork 16
mc_list_event_title_hint
github-actions[bot] edited this page Jun 3, 2026
·
4 revisions
Format a single title for display in multiple titles on list view.
add_filter(
'mc_list_event_title_hint',
function(
string $title,
object $now,
array $events
) {
// Your code here.
return $title;
},
10,
3
);-
string$titleEvent title. -
object$nowEvent object. -
array$eventsArray of event objects.
string
apply_filters( 'mc_list_event_title_hint', $cstate, $now, $events )apply_filters( 'mc_list_event_title_hint', strip_tags( wp_unslash( $now->event_title ), mc_strip_tags() ), $now, $events )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 )