Hooks, settings and integrations

Filters

Cron

lh_places_initial_run is a one-off event scheduled on activation (on every site when network-activated). It flushes rewrite rules and installs the spatial tables. Deactivation clears it.

Settings

There is no settings page of its own. An optional Google Maps API key field is added to GatherPress’s general settings and stored in the google_maps_js_api_key option. If it is empty, a key saved by The Events Calendar is shown instead. The key is only used for one thing: when a singular post contains the map block and has coordinates, the LH OGP plugin uses a Google static map as the post’s sharing image.

Output

Integrations