4min

wpgooglemaps_filter_map_div_output

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.

ο»Ώ

Updated 27 Jun 2022
Did this page help you?
Yes
No