HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/confeduphaar/public_html/wp-content/plugins/ova-team/ova-team.php
<?php
/*
Plugin Name: Ovatheme Team
Plugin URI: https://themeforest.net/user/ovatheme
Description: Team
Author: Ovatheme
Version: 1.1.6
Author URI: https://themeforest.net/user/ovatheme/portfolio
Text Domain: ova-team
Domain Path: /languages/
*/

if ( !defined( 'ABSPATH' ) ) exit();


if (!class_exists('ovateam')) {
	
	class ovateam
	{
		static $_instance = null;

		function __construct()
		{
			$this -> define_constants();
			$this -> includes();
			$this -> supports();
		}

		function define_constants(){
			$this->define( 'OVATEAM_PLUGIN_FILE', __FILE__ );
			$this->define( 'OVATEAM_PLUGIN_URI', plugin_dir_url( __FILE__ ) );
			$this->define( 'OVATEAM_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
			load_plugin_textdomain( 'ova-team', false, basename( dirname( __FILE__ ) ) .'/languages' );
		}

		function define( $name, $value ) {
			if ( ! defined( $name ) ) {
				define( $name, $value );
			}
		}

		public static function instance() {
			if ( !empty( self::$_instance ) ) {
				return self::$_instance;
			}
			return self::$_instance = new self();
		}

		function includes() {

			// inc
			require_once( OVATEAM_PLUGIN_PATH.'inc/class-ova-custom-post-type.php' );

			require_once( OVATEAM_PLUGIN_PATH.'inc/class-ova-get-data.php' );

			require_once( OVATEAM_PLUGIN_PATH.'inc/ova-core-functions.php' );
			
			require_once( OVATEAM_PLUGIN_PATH.'inc/class-ova-templates-loaders.php' );

			require_once( OVATEAM_PLUGIN_PATH.'inc/class-ova-assets.php' );


			// admin
			require_once( OVATEAM_PLUGIN_PATH.'admin/class-ova-metabox.php' );

			/* Customize */

			// if( current_user_can('customize') ){
			    require_once OVATEAM_PLUGIN_PATH.'/inc/class-customize.php';
			// }

		}


		function supports() {

			/* Make Elementors */
			if ( did_action( 'elementor/loaded' ) ) {
				include OVATEAM_PLUGIN_PATH.'elementor/class-ova-register-elementor.php';
			}

		}

	}
}

function ovateam() {
	return ovateam::instance();
}

$GLOBALS['ovateam'] = ovateam();