-
Notifications
You must be signed in to change notification settings - Fork 16
mcs_time_block
github-actions[bot] edited this page Jun 3, 2026
·
4 revisions
Filter time block output.
add_filter(
'mcs_time_block',
function(
string $time,
object $event
) {
// Your code here.
return $time;
},
10,
2
);-
string$timeHTML time block output. -
object$eventEvent object.
string
apply_filters( 'mcs_time_block', $time, $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 )