mc_map_width - joedolson/my-calendar GitHub Wiki
Default map width. Default value 100%.
Auto-generated Example
add_filter(
'mc_map_width',
function(
string $width,
object $event
) {
// Your code here.
return $width;
},
10,
2
);
Parameters
string$widthWidth parameter passed to map container style attribute.object$eventEvent or location object containing location information.
Returns
string Value.
Files
apply_filters( 'mc_map_width', '100%', $event )