mc_inside_table_cell_header - joedolson/my-calendar GitHub Wiki
Filter for inserting content inside the table cell's date heading container.
Auto-generated Example
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
);
Parameters
stringstring$content The current content inside the table cell's date heading container. Other variable names:$valuestring$date_isThe current date being processed.array$paramsThe current view parameters.array$events_arrayThe array of events for the current date.
Returns
string Modified content to be inserted inside the table cell's date heading container.
Files
apply_filters( 'mc_inside_table_cell_header', '', $date_is, $params, $events_array )
apply_filters( 'mc_inside_table_cell_header', '', $date_is, $params, array() )