googlemaps

The Jetpack by WordPress.com googlemaps shortcode.


Usage

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

Defined (1)

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

/modules/shortcodes/googlemaps.php  
  1.  
  2. return '<div class="' . esc_attr( $css_class ) . '"><iframe width="' . $width . '" height="' . $height . '" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="' . $url . '"></iframe></div>'; 
  3. add_shortcode( 'googlemaps', 'jetpack_googlemaps_shortcode' );