Website logo
Go back to WP Go Maps
⌘K
Initial Setup
WP Go Maps (v9)
πŸ‘First-time users
πŸ‘Map Features
πŸ‘Integrations
πŸ‘Importing and Exporting Data
Legacy (OIder) Layout (v9)
Frequently asked questions
Troubleshooting
Integrations
Developers
Hooks
Docs powered byΒ Archbee
Developers
...
Filters
Basic

wpgmza-map-editor-navigation-{$dataGroup}

3min

Add to the Atlas Novus map editor navigation sidebar. This should contain HTML for the navigation items you want to add. This may be settings, buttons, or hidden fields, the options here are up to you.

In this case {$dataGroup} is a dynamic variable, which changes based on the group being rendered. This allows for more granular addition to the navigation areas.

Source

PHP
apply_filters("wpgmza-map-editor-navigation-{$dataGroup}", $html);
ο»Ώ

Arguments

  • $html : The HTML of the additional navigation to add to the editor (string)

Requirements

  • Must return $html with your changes in place

Files

  • includes/class.map-edit-page.php

This is a dynamic hook which means it changes based on the method calling it. Take note of this when registering your hooks.

ο»Ώ

Updated 03 Aug 2023
Did this page help you?
PREVIOUS
wpgmza-map-editor-settings-{$dataGroup}
NEXT
wpgmza_system_info_compile_items
Docs powered byΒ Archbee
Docs powered byΒ Archbee