Server :
Apache
System :
Linux webd003.cluster126.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User :
atwiofrxug (73666)
PHP Version :
8.4.10
Disable Functions :
_dyuweyrj4,_dyuweyrj4r,dl
Current Directory :
/home/atwiofrxug/mylittletelaviv/wp-content/plugins/popup-maker/classes/
Directory Status:
Writeable | Document Root:
Writeable
Upload File
Viewing: /home/atwiofrxug/mylittletelaviv/wp-content/plugins/popup-maker/classes/Popups.php
<?php
/*******************************************************************************
* Copyright (c) 2017, WP Popup Maker
******************************************************************************/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Class Post_Types
*/
class PUM_Popups {
/**
* Hook the initialize method to the WP init action.
*/
public static function init() {
add_filter( 'pum_popup_content', array( $GLOBALS['wp_embed'], 'run_shortcode' ), 8 );
add_filter( 'pum_popup_content', array( $GLOBALS['wp_embed'], 'autoembed' ), 8 );
add_filter( 'pum_popup_content', 'wptexturize', 10 );
add_filter( 'pum_popup_content', 'convert_smilies', 10 );
add_filter( 'pum_popup_content', 'convert_chars', 10 );
add_filter( 'pum_popup_content', 'wpautop', 10 );
add_filter( 'pum_popup_content', 'shortcode_unautop', 10 );
add_filter( 'pum_popup_content', 'prepend_attachment', 10 );
add_filter( 'pum_popup_content', 'force_balance_tags', 10 );
add_filter( 'pum_popup_content', 'do_shortcode', 11 );
add_filter( 'pum_popup_content', 'capital_P_dangit', 11 );
}
/**
* @deprecated 1.8.0
* @remove 1.9.0
*
* @return \WP_Query
*/
public static function get_all() {
static $query;
if ( ! isset( $query ) ) {
$query = self::query();
}
return $query;
}
/**
* @deprecated 1.8.0
* @remove 1.9.0
*
* @return \WP_Query
*/
public static function query( $args = array() ) {
$args = wp_parse_args( $args, array(
'post_type' => 'popup',
'posts_per_page' => - 1,
) );
return new WP_Query( $args );
}
}
Cyb3r Drag0nz Team • Google Edition