HEX
Server: Apache
System: Linux 244.240.109.208.host.secureserver.net 5.14.0-611.11.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Dec 3 09:47:37 EST 2025 x86_64
User: icsla (1002)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/icsla/public_html/wp-content/plugins/popup-maker/includes/legacy/deprecated-classes.php
<?php
/**
 * Deprecated classes
 *
 * @package   PopupMaker
 * @copyright Copyright (c) 2024, Code Atlantic LLC
 *
 * phpcs:disable Generic.Files.OneObjectStructurePerFile.MultipleFound, PSR2.Classes.PropertyDeclaration.ScopeMissing
 */

// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * PopMake_License Class
 *
 * @deprecated 1.5.0
 *
 * Use PUM_Extension_License instead.
 */
if ( class_exists( 'PUM_Extension_License' ) ) {
	/**
	 * PopMake_License Class
	 *
	 * @deprecated 1.5.0 Use PUM_Extension_License instead.
	 */
	class PopMake_License extends PUM_Extension_License {}
}

/**
 * PopupMaker_Plugin_Updater
 *
 * @deprecated 1.5.0 Use PUM_Extension_Updater.
 */
if ( class_exists( 'PUM_Extension_Updater' ) ) {
	/**
	 * PopupMaker_Plugin_Updater
	 *
	 * @deprecated 1.5.0 Use PUM_Extension_Updater.
	 */
	class PopupMaker_Plugin_Updater extends PUM_Extension_Updater {}
}

/**
 * Popmake_Cron Class
 *
 * This class handles scheduled events
 *
 * @since 1.3.0
 * @deprecated 1.8.0
 */
if ( class_exists( 'PUM_Utils_Cron' ) ) {
	/**
	 * Popmake_Cron Class
	 *
	 * @deprecated 1.8.0 Use PUM_Utils_Cron instead.
	 */
	class Popmake_Cron extends PUM_Utils_Cron {}
}

/**
 * Class PUM_Popup_Query
 *
 * @deprecated 1.8.0
 */
class PUM_Popup_Query {

	/**
	 * The args to pass to the pum_get_popups() query
	 *
	 * @var array
	 * @access public
	 */
	public $args = [];

	/**
	 * Default query arguments.
	 *
	 * Not all of these are valid arguments that can be passed to WP_Query. The ones that are not, are modified before
	 * the query is run to convert them to the proper syntax.
	 *
	 * @param array $args The array of arguments that can be passed in and used for setting up this popup query.
	 */
	public function __construct( $args = [] ) {
		$this->args = $args;
	}

	/**
	 * Retrieve popups.
	 *
	 * The query can be modified in two ways; either the action before the
	 * query is run, or the filter on the arguments (existing mainly for backwards
	 * compatibility).
	 *
	 * @access public
	 * @return object
	 */
	public function get_popups() {
		return pum_get_popups( $this->args );
	}
}

/**
 * Class PUM
 *
 * @deprecated 1.8.0 - Don't use this. Use Popup_Maker instead.
 */
class PUM {
	const DB_VER   = null;
	const VER      = null;
	static $DB_VER = null;
	static $VER    = null;
}

/**
 * Class for Types
 *
 * @package   PopupMaker
 * @copyright Copyright (c) 2024, Code Atlantic LLC
 *
 * @deprecated 1.21.0
 */
class PUM_Types {
	/**
	 * @param $singular
	 * @param $plural
	 *
	 * @return mixed
	 *
	 * @deprecated 1.21.0
	 */
	public static function post_type_labels( $singular, $plural ) {
		return \PopupMaker\plugin()->get_controller( 'PostTypes' )->post_type_labels( $singular, $plural );
	}
}