PluginProbe
Leaflet Map / 2.10.0
Leaflet Map v2.10.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.10.0, at leaflet-map.php

39 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 Plugin Name: Leaflet Map
4 Plugin URI: https://wordpress.org/plugins/leaflet-map/
5 Description: A plugin for creating a Leaflet JS map with a shortcode. Boasts two free map tile services and three free geocoders.
6 Author: bozdoz
7 Author URI: https://twitter.com/bozdoz/
8 Text Domain: leaflet-map
9 Domain Path: /languages/
10 Version: 2.10.0
11 License: GPL2
12
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' ) ) exit;
29
30 define('LEAFLET_MAP__PLUGIN_FILE', __FILE__);
31 define('LEAFLET_MAP__PLUGIN_DIR', plugin_dir_path( __FILE__ ));
32
33 // import main class
34 include_once(LEAFLET_MAP__PLUGIN_DIR . 'class.leaflet-map.php');
35
36 // uninstall hook
37 register_uninstall_hook( __FILE__, array('Leaflet_Map', 'uninstall') );
38
39 add_action('init', array('Leaflet_Map', 'init'));