Skip to content

mc_grid_wrapper

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

Alter the outer wrapper HTML element for the grid view. Default table.

Auto-generated Example

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

Parameters

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

Returns

{string}

Files

apply_filters( 'mc_grid_wrapper', 'table', $params['format'] )
apply_filters( 'mc_grid_wrapper', 'table', $params['format'] )

← All Hooks

Clone this wiki locally