Skip to content

mc_grid_header_wrapper

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

Alter the HTML date header element for the grid view. Default th

Auto-generated Example

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

Parameters

  • {string} $th HTML element tag without <>.
  • {string} $format Viewed format.

Returns

{string}

Files

apply_filters( 'mc_grid_header_wrapper', 'th', $params['format'] )

← All Hooks

Clone this wiki locally