| 1 |
<?php |
| 2 |
/** |
| 3 |
* Plugin Name: Ultimate Member |
| 4 |
* Plugin URI: http://ultimatemember.com/ |
| 5 |
* Description: The easiest way to create powerful online communities and beautiful user profiles with WordPress |
| 6 |
* Version: 2.13.0 |
| 7 |
* Author: Ultimate Member |
| 8 |
* Author URI: http://ultimatemember.com/ |
| 9 |
* License: GPLv3 |
| 10 |
* License URI: http://www.gnu.org/licenses/gpl-3.0.txt |
| 11 |
* Text Domain: ultimate-member |
| 12 |
* Domain Path: /languages |
| 13 |
* Requires at least: 6.2 |
| 14 |
* Requires PHP: 7.0 |
| 15 |
* |
| 16 |
* @package UM |
| 17 |
*/ |
| 18 |
|
| 19 |
defined( 'ABSPATH' ) || exit; |
| 20 |
|
| 21 |
require_once ABSPATH . 'wp-admin/includes/plugin.php'; |
| 22 |
$plugin_data = get_plugin_data( __FILE__, true, false ); |
| 23 |
|
| 24 |
// phpcs:disable Generic.NamingConventions.UpperCaseConstantName |
| 25 |
define( 'um_url', plugin_dir_url( __FILE__ ) ); |
| 26 |
define( 'um_path', plugin_dir_path( __FILE__ ) ); |
| 27 |
define( 'um_plugin', plugin_basename( __FILE__ ) ); |
| 28 |
define( 'ultimatemember_version', $plugin_data['Version'] ); |
| 29 |
define( 'ultimatemember_plugin_name', $plugin_data['Name'] ); |
| 30 |
// phpcs:enable Generic.NamingConventions.UpperCaseConstantName |
| 31 |
|
| 32 |
define( 'UM_URL', plugin_dir_url( __FILE__ ) ); |
| 33 |
define( 'UM_PATH', plugin_dir_path( __FILE__ ) ); |
| 34 |
define( 'UM_PLUGIN', plugin_basename( __FILE__ ) ); |
| 35 |
define( 'UM_VERSION', $plugin_data['Version'] ); |
| 36 |
define( 'UM_PLUGIN_NAME', $plugin_data['Name'] ); |
| 37 |
define( 'UM_WP_FUNCTIONS_VERSION', '7.0.1' ); // Updates every major WordPress release. |
| 38 |
define( 'UM_LICENSE_REQUEST_DEBUG', false ); // Set true, then need to debug the license request. |
| 39 |
define( 'UM_UPDATER_DEBUG', false ); // Set true, then need to debug the upgrade packages. |
| 40 |
// define( 'UM_DEV_MODE', true ); |
| 41 |
|
| 42 |
require_once 'includes/class-functions.php'; |
| 43 |
require_once 'includes/class-init.php'; |
| 44 |
|