: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
* @copyright Copyright (c) 2023, Code Atlantic LLC
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
* 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 {}
* This class handles scheduled events
class Popmake_Cron extends PUM_Utils_Cron {}
* The args to pass to the pum_get_popups() query
* 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 = [] ) {
* 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
public function get_popups() {
return pum_get_popups( $this->args );
* @deprecated 1.8.0 - Don't use this. Use Popup_Maker instead.