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
if ( !function_exists( 'init_embed_google_map_options' ) ) { require_once ABSPATH . PLUGINDIR . 'embed-google-map/embed_google_map.php'; } // The options. $options = &$options; // NOTICE! Understand what this does before running. $result = init_embed_google_map_options($options);
Defined (1)
The function is defined in the following location(s).
- /embed_google_map.php
- function init_embed_google_map_options(&$options) {
- if(!isset($options['version'])) { $options['version'] = 'new'; }
- if(!isset($options['embed_api_key'])) { $options['embed_api_key'] = ''; }
- if(!isset($options['map_type'])) { $options['map_type'] = 'm'; }
- if(!isset($options['zoom_level'])) { $options['zoom_level'] = 14; }
- if(!isset($options['language'])) { $options['language'] = ''; }
- if(!isset($options['add_link'])) { $options['add_link'] = 0; }
- if(!isset($options['link_label'])) { $options['link_label'] = 'View Larger Map'; }
- if(!isset($options['link_full'])) { $options['link_full'] = 0; }
- if(!isset($options['show_info'])) { $options['show_info'] = 1; }
- if(!isset($options['info_label'])) { $options['info_label'] = ''; }
- if(!isset($options['height'])) { $options['height'] = 400; }
- if(!isset($options['width'])) { $options['width'] = 300; }
- if(!isset($options['border'])) { $options['border'] = 0; }
- if(!isset($options['border_style'])) { $options['border_style'] = 'solid'; }
- if(!isset($options['border_color'])) { $options['border_color'] = '#000000'; }
- if(!isset($options['https'])) { $options['https'] = 0; }
- }