/** * Plugin Name: Snazzy Maps * Plugin URI: https://snazzymaps.com/plugins * Description: Apply styles to your Google Maps with the official Snazzy Maps WordPress plugin. * Version: 1.1.3 * Author: Atmist * Author URI: http://atmist.com/ * License: GPL2 */ /* Copyright 2014 Atmist (email : hello@atmist.com) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ //Recommended by wordpress defined( 'ABSPATH' ) OR exit; //This API key is used to explore the styles in snazzy maps define('API_BASE', 'https://snazzymaps.com/'); define('API_KEY', 'ecaccc3c-44fa-486c-9503-5d473587a493'); define('SNAZZY_VERSION_NUMBER', '1.1.3'); if(!defined('_DS')) { define('_DS', '/'); } include_once(plugin_dir_path(__FILE__) . _DS . 'admin' . _DS . 'index.php'); if (!class_exists('SnazzyMaps_Services_JSON')) { include_once(plugin_dir_path(__FILE__) . _DS . 'additional_php' . _DS . 'SnazzyMaps_Services_JSON.php'); } //Required for converting the data returned by the JSON Service function _object_to_array($object) { if (is_array($object) OR is_object($object)) { $result = array(); foreach((array)$object as $key => $value) { $result[$key] = _object_to_array($value); } return $result; } return $object; } function resourceURL($file){ return plugins_url($file, __FILE__); } function init_plugin(){ } add_action('init', 'init_plugin'); //Pass the style information into the javascript file on the main page if (!function_exists('enqueue_script')) { function enqueue_script() { _deprecated_function(__FUNCTION__, '1.1.3', 'snazzy_enqueue_script()'); snazzy_enqueue_script(); } } function snazzy_enqueue_script() { $uniqueStyle = get_option('SnazzyMapDefaultStyle'); if(!empty($uniqueStyle) && !is_null($uniqueStyle)){ $handle = 'snazzymaps-js'; wp_enqueue_script($handle, plugins_url('snazzymaps.js', __FILE__), $deps = array('jquery'), $ver = SNAZZY_VERSION_NUMBER, $in_footer = false); //We have to use l10n_print_after so we can support older versions of WordPress $json = new SnazzyMaps_Services_JSON(); wp_localize_script($handle, 'SnazzyDataForSnazzyMaps', array('l10n_print_after' => 'SnazzyDataForSnazzyMaps=' . $json->encode($uniqueStyle))); } } add_action( 'wp_enqueue_scripts', 'snazzy_enqueue_script'); //Found in admin/index.php add_action( 'admin_enqueue_scripts', 'admin_enqueue_script'); function admin_add_custom_menu(){ add_theme_page('Snazzy Maps', 'Snazzy Maps', 'manage_options', 'snazzy_maps', 'admin_add_custom_content'); } add_action( 'admin_menu', 'admin_add_custom_menu'); // Add a settings link to the plugin listing page add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), 'my_plugin_action_links' ); function my_plugin_action_links( $links ) { array_unshift($links, 'Settings'); return $links; } //The post method is performed by the tab before redirecting add_action ('admin_head-appearance_page_snazzy_maps', 'admin_perform_post'); ?> Indoor Tours – Trek n Climb
9856021576 info@treknclimb.com


Indoor Tours

The Buddhist Circuit Of Nepal

8 Days
Availability : Anytime a Year
(0 Review)
View Details

Bird Watching Tour In Nepal

14 Days
Availability : Anytime a Year
(0 Review)
View Details

Swayambhunath Temple Tour

1/2 Hours
Availability : Anytime a year
(0 Review)
View Details

Why Book With Us?

  • No-hassle best price guarantee
  • Customer care available 24/7
  • Hand-picked Tours & Activities
  • Free Travel Insurance

Get a Question?

buy xanax nz Do not hesitage to give us a call. We are an expert team and we are happy to talk to you.

buying xanax in buenos aires Phone : +97761 461577
+97761 463880

http://publicphilosophyjournal.org/profile/badges/?user=Folger info@cntravels.com