website logo
Go back to WP Go Maps
⌘K
Atlas Novus (v9)
πŸ‘Initial Setup
πŸ‘First-time users
πŸ‘Map Features
πŸ‘Integrations
πŸ‘Importing and Exporting Data
πŸ‘Troubleshooting
πŸ‘Frequently asked questions
Legacy (v9)
πŸ‘Initial Setup
πŸ‘First-time users
πŸ‘Map Features
πŸ‘Integrations
πŸ‘Importing and Exporting Data
πŸ‘Troubleshooting
πŸ‘Frequently asked questions
Integrations
Developers
Hooks
Docs powered byΒ archbeeΒ 

wpgooglemaps_filter_map_div_output

4min

Modify the HTML wrapper, passed as a string, which will be used when rendering the map. You must return the content as a string as it is used during output on the frontend.

If you are using Atlas Novus we would recommend considering a non-legacy hook instead.

Source

PHP
|
apply_filters("wpgooglemaps_filter_map_div_output", $html);
ο»Ώ

Arguments

  • $html: The HTML for the map element (string)

Requirements

  • Return a string from your callback

Files

  • legacy-core.php
  • includes/class.shortcodes.php

This is a legacy hook, we do not recommend relying on it for your own code, depending on your needs.

ο»Ώ

Updated 03 Mar 2023
Did this page help you?
Yes
No
PREVIOUS
wpgmza_admin_persistent_notices_dynamic_titles
NEXT
Actions
Docs powered byΒ archbeeΒ