Skip to content

mc_location_schema

github-actions[bot] edited this page Jun 3, 2026 · 4 revisions

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 $schema Schema data for an event venue.
  • object $location My Calendar location object.

Returns

array

Files

apply_filters( 'mc_location_schema', $schema, $location )

← All Hooks

Clone this wiki locally