2017-07-26 14:57:52 +03:00
|
|
|
<?php
|
|
|
|
|
/*
|
|
|
|
|
Plugin Name: Ultimate Member
|
|
|
|
|
Plugin URI: http://ultimatemember.com/
|
|
|
|
|
Description: The easiest way to create powerful online communities and beautiful user profiles with WordPress
|
2023-07-19 10:40:18 +03:00
|
|
|
Version: 2.6.9-alpha
|
2017-07-26 14:57:52 +03:00
|
|
|
Author: Ultimate Member
|
|
|
|
|
Author URI: http://ultimatemember.com/
|
|
|
|
|
Text Domain: ultimate-member
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
defined( 'ABSPATH' ) || exit;
|
|
|
|
|
|
2023-05-23 17:20:15 +03:00
|
|
|
require_once ABSPATH . 'wp-admin/includes/plugin.php';
|
2017-07-26 14:57:52 +03:00
|
|
|
$plugin_data = get_plugin_data( __FILE__ );
|
|
|
|
|
|
2023-05-23 17:20:15 +03:00
|
|
|
// phpcs:disable Generic.NamingConventions.UpperCaseConstantName
|
2017-07-26 14:57:52 +03:00
|
|
|
define( 'um_url', plugin_dir_url( __FILE__ ) );
|
|
|
|
|
define( 'um_path', plugin_dir_path( __FILE__ ) );
|
|
|
|
|
define( 'um_plugin', plugin_basename( __FILE__ ) );
|
|
|
|
|
define( 'ultimatemember_version', $plugin_data['Version'] );
|
|
|
|
|
define( 'ultimatemember_plugin_name', $plugin_data['Name'] );
|
2023-05-23 17:20:15 +03:00
|
|
|
// phpcs:enable Generic.NamingConventions.UpperCaseConstantName
|
|
|
|
|
|
|
|
|
|
define( 'UM_URL', plugin_dir_url( __FILE__ ) );
|
|
|
|
|
define( 'UM_PATH', plugin_dir_path( __FILE__ ) );
|
|
|
|
|
define( 'UM_PLUGIN', plugin_basename( __FILE__ ) );
|
|
|
|
|
define( 'UM_VERSION', $plugin_data['Version'] );
|
|
|
|
|
define( 'UM_PLUGIN_NAME', $plugin_data['Name'] );
|
2017-07-26 14:57:52 +03:00
|
|
|
|
|
|
|
|
require_once 'includes/class-functions.php';
|
2021-06-17 00:57:25 +03:00
|
|
|
require_once 'includes/class-init.php';
|