-
Notifications
You must be signed in to change notification settings - Fork 2
/
stellar-places.php
37 lines (32 loc) · 1.06 KB
/
stellar-places.php
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
<?php
/**
* Plugin Name: Stellar Places
* Plugin URI: https://wpscholar.com/wordpress-plugins/stellar-places/
* Description: An intuitive plugin for easily creating, managing and displaying locations using Google Maps.
* Author: Micah Wood
* Author URI: https://wpscholar.com
* Version: 1.3
* Requires at least: 5.2
* Requires PHP: 5.6
* Text Domain: stellar-places
* Domain Path: languages
* License: GPL3
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
*
* Copyright 2014-2020 by Micah Wood - All rights reserved.
*
* @package StellarPlaces
*/
define( 'STELLAR_PLACES_VERSION', '1.3' );
define( 'STELLAR_PLACES_FILE', __FILE__ );
require dirname( __FILE__ ) . '/vendor/autoload.php';
// Check plugin requirements
global $pagenow;
if ( 'plugins.php' === $pagenow ) {
$plugin_check = new WP_Forge_Plugin_Check( __FILE__ );
$plugin_check->min_php_version = '5.6';
$plugin_check->min_wp_version = '5.2';
$plugin_check->check_plugin_requirements();
}
require dirname( __FILE__ ) . '/includes/init.php';
Stellar_Places::get_instance();