-
Notifications
You must be signed in to change notification settings - Fork 17
mc_inside_table_cell_header
github-actions[bot] edited this page Sep 15, 2026
·
2 revisions
Filter for inserting content inside the table cell's date heading container.
add_filter(
'mc_inside_table_cell_header',
function(
string string,
string $date_is,
array $params,
array $events_array
) {
// Your code here.
return string;
},
10,
4
);-
stringstring$content The current content inside the table cell's date heading container. Other variable names:$value -
string$date_isThe current date being processed. -
array$paramsThe current view parameters. -
array$events_arrayThe array of events for the current date.
string Modified content to be inserted inside the table cell's date heading container.
apply_filters( 'mc_inside_table_cell_header', '', $date_is, $params, $events_array )apply_filters( 'mc_inside_table_cell_header', '', $date_is, $params, array() )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 )