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