-
Notifications
You must be signed in to change notification settings - Fork 16
mc_notime_label
github-actions[bot] edited this page Jun 3, 2026
·
4 revisions
Label to use in place of time for an event with no fixed time.
add_filter(
'mc_notime_label',
function(
string $notime,
object $event
) {
// Your code here.
return $notime;
},
10,
2
);-
string$notimeDefault value from settings or event post meta. -
object$eventEvent object.
string Text describing when the event occurs. E.g. 'all day' or 'to be determined'.
apply_filters( 'mc_notime_label', $notime, $event )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 )