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Β 

wpgmza_shortcode_map_components

3min

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
|
apply_filters("wpgmza_shortcode_map_components", $components, $map, $attributes);
ο»Ώ

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

ο»Ώ

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