-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpepro-mapify.php
More file actions
52 lines (46 loc) · 2.06 KB
/
Copy pathpepro-mapify.php
File metadata and controls
52 lines (46 loc) · 2.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php
/**
* Plugin Name: PeproDev Branches Map (Mapify)
* Plugin URI: https://pepro.dev/mapify
* Description: Show your branches on Google Maps, OpenStreetMap, Mapbox, Persian maps or an offline map of Iran, with a searchable branches list. Works as a shortcode, an Elementor widget and a WPBakery Page Builder element.
* Version: 3.0.0
* Requires at least: 6.5
* Tested up to: 7.1
* Requires PHP: 7.4
* Author: Pepro Dev. Group
* Author URI: https://pepro.dev/
* Developer: AmirhpCom
* Developer URI: https://amirhp.com/
* License: GPLv2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: mapify
* Domain Path: /languages
* Elementor tested up to: 4.3.1
* WPBakery tested up to: 9.0.1
*
* @package Mapify
*/
defined( 'ABSPATH' ) || exit;
// Another copy of Mapify is already loaded (e.g. two editions active at once).
if ( defined( 'MAPIFY_FILE' ) ) {
return;
}
define( 'MAPIFY_VERSION', '3.0.0' );
define( 'MAPIFY_FILE', __FILE__ );
define( 'MAPIFY_DIR', plugin_dir_path( __FILE__ ) );
define( 'MAPIFY_URL', plugin_dir_url( __FILE__ ) );
define( 'MAPIFY_ASSETS', MAPIFY_URL . 'assets/' );
define( 'MAPIFY_REPO_URL', 'https://wordpress.org/plugins/mapify/' );
require_once MAPIFY_DIR . 'includes/class-options.php';
require_once MAPIFY_DIR . 'includes/class-i18n.php';
require_once MAPIFY_DIR . 'includes/class-schema.php';
require_once MAPIFY_DIR . 'includes/class-branches.php';
require_once MAPIFY_DIR . 'includes/class-renderer.php';
require_once MAPIFY_DIR . 'includes/class-shortcode.php';
require_once MAPIFY_DIR . 'includes/class-branch-editor.php';
require_once MAPIFY_DIR . 'includes/class-admin.php';
require_once MAPIFY_DIR . 'includes/class-transfer.php';
require_once MAPIFY_DIR . 'includes/class-plugin.php';
register_activation_hook( __FILE__, array( 'Mapify\\Plugin', 'activate' ) );
register_uninstall_hook( __FILE__, array( 'Mapify\\Plugin', 'uninstall' ) );
add_action( 'plugins_loaded', array( 'Mapify\\Plugin', 'instance' ) );