google_maps

The Maps Builder google maps shortcode.


Usage

  1. // basic usage 
  2. echo do_shortcode('[google_maps]'); 
  1. // variable usage 
  2. $result = do_shortcode('[google_maps]'); 
  3. echo $result;  

Defined (1)

The shortcode is defined in the following location(s).

/vendor/wordimpress/maps-builder-core/includes/class-gmc-engine.php  
  1.  
  2. // Filter to automatically add maps to post type content 
  3. add_filter( 'the_content', array( $this, 'the_content' ), 2 ); 
  4.  
  5. //add shortcode support 
  6. add_shortcode( 'google_maps', array( $this, 'google_maps_shortcode' ) ); 
  7.  
  8.  
  9. /** 
  10. * Google Map display on Single Posts.