Developers
...
Filters
Basic

wpgooglemaps_filter_map_div_output

3min

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
ο»Ώ

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.

ο»Ώ