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