You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
93 lines
1.7 KiB
93 lines
1.7 KiB
<?php
|
|
/**
|
|
* Deprecated classes
|
|
*
|
|
* @package PUM
|
|
* @copyright Copyright (c) 2023, Code Atlantic LLC
|
|
*/
|
|
|
|
// Exit if accessed directly
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
exit;
|
|
}
|
|
|
|
/**
|
|
* 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.
|
|
*/
|
|
class PopupMaker_Plugin_Updater extends PUM_Extension_Updater {}
|
|
|
|
/**
|
|
* Popmake_Cron Class
|
|
*
|
|
* This class handles scheduled events
|
|
*
|
|
* @since 1.3.0
|
|
* @deprecated 1.8.0
|
|
*/
|
|
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;
|
|
}
|
|
|