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

  • string string $content The current content inside the table cell's date heading container. Other variable names: $value
  • string $date_is The current date being processed.
  • array $params The current view parameters.
  • array $events_array The 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() )

← All Hooks