Skip to content

mc_grid_week_wrapper

Joe Dolson edited this page May 15, 2026 · 4 revisions

Change the element wrapping a week of events in grid view. Default tr.

Auto-generated Example

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

Parameters

  • {string} $format Date format per PHP date formatting.
  • {string} $format Current view format.

Returns

{string}

Files

apply_filters( 'mc_grid_week_wrapper', 'tr', $params['format'] )

← All Hooks

Clone this wiki locally