| Server IP : 89.108.64.180 / Your IP : 216.73.216.60 Web Server : Apache/2.4.41 (Ubuntu) System : Linux 89-108-64-180.cloudvps.regruhosting.ru 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : www-root ( 1010) PHP Version : 8.0.30 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/www-root/data/www/elena-brest.ru/wp-content/plugins/master-popups/includes/ |
Upload File : |
<?php namespace MasterPopups\Includes;
//$xbox = xbox_get('settings-master-popups');
//$value = $xbox->get_field_value( 'disable-user-roles' );
//d($value);
// $popup = new Popup();
// $options = $popup->get_options();
// $value = $popup->option( 'name' );
//$popup = new Popup();
//$options = $popup->get_options();
//$value = $popup->option( 'name' );
//d($options['mpp_desktop-elements']);Undefined index
//d($options);
//$keyword = xbox_get_field_value( 'popup-editor-master-popups', 'mpp_display-by-post-content', '');
//d($keyword);
//$desktop_elements = xbox_get_field_value( 'popup-editor-master-popups', 'mpp_desktop-elements', array());
//d($desktop_elements);
//add_action('xbox_before_save_fields', __NAMESPACE__ .'\\test_xbox_before_save_fields', 10, 3);
//function test_xbox_before_save_fields( $data, $object_id, $xbox ){
// //mpp_debug( '$object_id', $object_id);
// //mpp_debug( '$_POST', $data);
// //mpp_debug( '$xbox', $xbox);
// //exit;
//}
//add_filter('xbox_filter_field_value_mpp_e-regex-validation', __NAMESPACE__ .'\\xbox_filter_field_value', 10);
//function xbox_filter_field_value( $value ){
// return $value;
//}
/* Validar email al suscribir */
//$subscription = new Subscription( Functions::get_plugin_instance(), array(
// 'email' => 'test@gmail.com',
//) );
//d($subscription->has_fields());
//d($subscription->email);
//d($subscription->validate_email());
//d($subscription->email);
//$subscription->get_email();
//if( $subscription->has_fields() && $subscription->validate_email() ){
// $subscription->execute();
//}