PluginProbe
Leaflet Map / 2.16.0
Leaflet Map v2.16.0
3.4.7 3.4.6 trunk 2.10.0 2.10.1 2.11.0 2.11.1 2.11.2 2.11.3 2.11.4 2.11.5 2.12.0 2.13.0 2.14.0 2.15.0 2.16.0 2.16.1 2.16.2 2.17.0 2.17.1 2.17.2 2.17.3 2.18.0 2.19.0 2.19.1 All 49 releases
leaflet-map / leaflet-map.php

leaflet-map.php in Leaflet Map 2.16.0, at leaflet-map.php

42 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Plugin Name: Leaflet Map
5 * Plugin URI: https://wordpress.org/plugins/leaflet-map/
6 * Description: A plugin for creating a Leaflet JS map with a shortcode. Boasts two free map tile services and three free geocoders.
7 * Author: bozdoz
8 * Author URI: https://bozdoz.com/
9 * Text Domain: leaflet-map
10 * Domain Path: /languages/
11 * Version: 2.16.0
12 * License: GPL2
13 * Leaflet Map is free software: you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation, either version 2 of the License, or
16 * any later version.
17 *
18 * Leaflet Map is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
22 *
23 * You should have received a copy of the GNU General Public License
24 * along with Leaflet Map. If not, see https://github.com/bozdoz/wp-plugin-leaflet-map/blob/master/LICENSE.
25 */
26
27 // Exit if accessed directly
28 if (!defined('ABSPATH')) {
29 exit;
30 }
31
32 define('LEAFLET_MAP__PLUGIN_VERSION', '2.16.0');
33 define('LEAFLET_MAP__PLUGIN_FILE', __FILE__);
34 define('LEAFLET_MAP__PLUGIN_DIR', plugin_dir_path(__FILE__));
35
36 // import main class
37 require_once LEAFLET_MAP__PLUGIN_DIR . 'class.leaflet-map.php';
38
39 // uninstall hook
40 register_uninstall_hook(__FILE__, array('Leaflet_Map', 'uninstall'));
41
42 add_action('init', array('Leaflet_Map', 'init'));