5min

wpgmza_shortcode_map_components

Add/modify the map components which will be loaded with this map. These element may be modules which self render, or may be HTML modules.

Source

PHP
|

Arguments

  • $components : The components to be loaded (object)
  • $map : The map instance (WPGMZA\Map)
  • $attributes : The shortcode attributes (array)

Requirements

  • Must return $components with your changes in place
  • Only runs when using Atlas Novus internal engine

Files

  • includes/class.shortcodes.php

ο»Ώ