|
Server : Apache System : Linux vps-1289444.devslamantis.cl 3.10.0-1160.139.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Nov 3 13:30:41 UTC 2025 x86_64 User : vspt ( 1013) PHP Version : 7.4.33 Disable Function : NONE Directory : /home/vspt/www/casavalle.vsptdigital.cl/wp-content/plugins/popup-maker/includes/ |
<?php
/**
* Failsafes
*
* @package PopupMaker
* @copyright Copyright (c) 2024, Code Atlantic LLC
*/
if ( ! function_exists( 'popmake_get_option' ) ) {
/**
* @param string $key
* @param bool $default_value
*
* @return bool
*/
function popmake_get_option( $key = '', $default_value = false ) {
return $default_value;
}
}
if ( ! function_exists( 'popmake_is_admin_page' ) ) {
/**
* @return bool
*/
function popmake_is_admin_page() {
return false;
}
}
if ( ! function_exists( 'pum_is_admin_page' ) ) {
/**
* @return bool
*/
function pum_is_admin_page() {
return false;
}
}
if ( ! function_exists( 'popmake_is_admin_popup_page' ) ) {
/**
* @return bool
*/
function popmake_is_admin_popup_page() {
return false;
}
}
if ( ! function_exists( 'pum_is_popup_editor' ) ) {
/**
* @return bool
*/
function pum_is_popup_editor() {
return false;
}
}
if ( ! function_exists( 'pum_is_settings_page' ) ) {
/**
* @return bool
*/
function pum_is_settings_page() {
return false;
}
}
if ( ! function_exists( 'popmake_get_template_part' ) ) {
/**
* @param $slug
* @param null $name
* @param bool $load
*
* @return string
*/
function popmake_get_template_part( $slug, $name = null, $load = true ) {
if ( $load ) {
return;
}
return __DIR__ . '/index.php';
}
}