Skip to content

mc_grid_day_wrapper

github-actions[bot] edited this page Jun 3, 2026 · 4 revisions

Alter the date wrapper HTML element for the grid view. Default td.

Auto-generated Example

add_filter(
   'mc_grid_day_wrapper',
    function(
        string $td,
        string $format
    ) {
        // Your code here.
        return $td;
    },
    10,
    2
);

Parameters

  • string $td HTML element tag without <>.
  • string $format Viewed format.

Returns

string

Files

apply_filters( 'mc_grid_day_wrapper', 'td', $params['format'] )

← All Hooks

Clone this wiki locally