mc_location_schema - joedolson/my-calendar GitHub Wiki
Filter array used to generate location schema. See https://schema.org/location.
Auto-generated Example
add_filter(
'mc_location_schema',
function(
array $schema,
object $location
) {
// Your code here.
return $schema;
},
10,
2
);
Parameters
array$schemaSchema data for an event venue.object$locationMy Calendar location object.
Returns
array
Files
apply_filters( 'mc_location_schema', $schema, $location )