wps-team.php
| 1 | <?php |
| 2 | /** |
| 3 | * @package WPSpeedo_Team_Members |
| 4 | * |
| 5 | * Plugin Name: WPS Team |
| 6 | * Plugin URI: https://wpspeedo.com/wps-team-pro?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash |
| 7 | * Description: The Ultimate Team Plugin to Elevate Your Website |
| 8 | * Version: 4.1.1 |
| 9 | * Author: WPSpeedo |
| 10 | * Author URI: https://wpspeedo.com?utm_source=wp-plugins&utm_campaign=author-uri&utm_medium=wp-dash |
| 11 | * License: GPLv2 or later |
| 12 | * License URI: https://www.gnu.org/licenses/gpl-2.0.html |
| 13 | * Text Domain: wps-team |
| 14 | * Domain Path: /languages |
| 15 | * Requires PHP: 7.4 |
| 16 | * Requires at least: 5.9 |
| 17 | */ |
| 18 | |
| 19 | if ( ! defined( 'ABSPATH' ) ) exit; |
| 20 | |
| 21 | define( 'WPS_TEAM_VERSION', '4.1.1' ); |
| 22 | |
| 23 | define( 'WPS_TEAM_FILE', __FILE__ ); |
| 24 | |
| 25 | define( 'WPS_TEAM_PATH', plugin_dir_path( WPS_TEAM_FILE ) ); |
| 26 | define( 'WPS_TEAM_URL', plugin_dir_url( WPS_TEAM_FILE ) ); |
| 27 | |
| 28 | define( 'WPS_TEAM_INC_PATH', WPS_TEAM_PATH . 'includes/' ); |
| 29 | |
| 30 | define( 'WPS_TEAM_ADMIN_PATH', WPS_TEAM_PATH . 'admin/' ); |
| 31 | define( 'WPS_TEAM_ADMIN_URL', WPS_TEAM_URL . 'admin/' ); |
| 32 | |
| 33 | define( 'WPS_TEAM_ASSET_URL', WPS_TEAM_URL . 'assets/' ); |
| 34 | define( 'WPS_TEAM_ADMIN_ASSET_URL', WPS_TEAM_ASSET_URL . 'admin/' ); |
| 35 | |
| 36 | require_once WPS_TEAM_PATH . 'initialize.php'; |
| 37 | |
| 38 | if ( ! function_exists( 'get_wps_team' ) ) { |
| 39 | function get_wps_team( $shortcode_id ) { |
| 40 | return WPSpeedo_Team\Utils::get_wps_team( $shortcode_id ); |
| 41 | } |
| 42 | } |