init_embed_google_map_options

The Embed Google Map init embed google map options function.

Description

init_embed_google_map_options( &$options ); 

Parameters (1)

0. $options
The options.

Usage

  1. if ( !function_exists( 'init_embed_google_map_options' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'embed-google-map/embed_google_map.php'; 
  3.  
  4. // The options. 
  5. $options = &$options; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = init_embed_google_map_options($options); 
  9.  

Defined (1)

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

/embed_google_map.php  
  1. function init_embed_google_map_options(&$options) { 
  2. if(!isset($options['version'])) { $options['version'] = 'new'; } 
  3. if(!isset($options['embed_api_key'])) { $options['embed_api_key'] = ''; } 
  4. if(!isset($options['map_type'])) { $options['map_type'] = 'm'; } 
  5. if(!isset($options['zoom_level'])) { $options['zoom_level'] = 14; } 
  6. if(!isset($options['language'])) { $options['language'] = ''; } 
  7. if(!isset($options['add_link'])) { $options['add_link'] = 0; } 
  8. if(!isset($options['link_label'])) { $options['link_label'] = 'View Larger Map'; }  
  9. if(!isset($options['link_full'])) { $options['link_full'] = 0; } 
  10. if(!isset($options['show_info'])) { $options['show_info'] = 1; } 
  11. if(!isset($options['info_label'])) { $options['info_label'] = ''; }  
  12. if(!isset($options['height'])) { $options['height'] = 400; } 
  13. if(!isset($options['width'])) { $options['width'] = 300; } 
  14. if(!isset($options['border'])) { $options['border'] = 0; } 
  15. if(!isset($options['border_style'])) { $options['border_style'] = 'solid'; } 
  16. if(!isset($options['border_color'])) { $options['border_color'] = '#000000'; } 
  17. if(!isset($options['https'])) { $options['https'] = 0; }