mc_grid_wrapper - joedolson/my-calendar GitHub Wiki
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$tableHTML element tag without<>.string$formatViewed format.
Returns
string
Files
apply_filters( 'mc_grid_wrapper', 'table', $params['format'] )
apply_filters( 'mc_grid_wrapper', 'table', $params['format'] )