![]() Server : LiteSpeed System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : claqxcrl ( 523) PHP Version : 8.1.32 Disable Function : NONE Directory : /home/claqxcrl/askdragao.com/wp-content/plugins/sportspress/modules/ |
<?php /** * Importers * * @author ThemeBoy * @category Modules * @package SportsPress/Modules * @version 2.7.9 */ // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'SportsPress_Importers' ) ) : /** * Main SportsPress Importers Class * * @class SportsPress_Importers * @version 1.8.3 */ class SportsPress_Importers { /** * Constructor */ public function __construct() { // Define constants $this->define_constants(); add_action( 'init', array( $this, 'includes' ) ); } /** * Define constants. */ private function define_constants() { if ( ! defined( 'SP_IMPORTERS_VERSION' ) ) { define( 'SP_IMPORTERS_VERSION', '1.8.3' ); } if ( ! defined( 'SP_IMPORTERS_URL' ) ) { define( 'SP_IMPORTERS_URL', plugin_dir_url( __FILE__ ) ); } if ( ! defined( 'SP_IMPORTERS_DIR' ) ) { define( 'SP_IMPORTERS_DIR', plugin_dir_path( __FILE__ ) ); } } /** * Include importers. */ public function includes() { if ( is_admin() && defined( 'WP_LOAD_IMPORTERS' ) ) { include SP()->plugin_path() . '/includes/admin/class-sp-admin-importers.php'; } } } endif; new SportsPress_Importers();