Server IP : 172.67.216.182 / Your IP : 172.71.124.176 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,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,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /www/wwwroot/audiomatrix.in/wp-content/plugins/popup-maker/includes/ |
Upload File : |
<?php /** * Functions for backward compatibility * * @package PUM * @copyright Copyright (c) 2023, Code Atlantic LLC */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } add_filter( 'pum_settings_fields', 'pum_merge_deprecated_settings_fields' ); /** * Merge old deprecated settings from extensions into the new settings API. * * @since 1.7.0 * @deprecated 1.7.0 * * @param array $tabs * * @return array */ function pum_merge_deprecated_settings_fields( $tabs = [] ) { /** * Apply @deprecated filters & process old fields for compatibility. */ $old_fields = popmake_get_registered_settings(); $old_fields = array_map( 'array_filter', $old_fields ); $old_fields = array_filter( $old_fields ); if ( ! empty( $old_fields ) ) { foreach ( $old_fields as $tab_id => $fields ) { foreach ( $fields as $field_id => $field_args ) { if ( is_numeric( $field_id ) && ! empty( $field_args['id'] ) ) { $field_id = $field_args['id']; unset( $field_args['id'] ); } $field_args['label'] = ! empty( $field_args['name'] ) ? $field_args['name'] : ''; if ( 'header' === $field_args['type'] ) { $field_args['type'] = 'separator'; } elseif ( 'gaeventlabel' === $field_args['type'] ) { $field_args['type'] = 'ga_event_labels'; } elseif ( 'hook' === $field_args['type'] ) { $field_args['type'] = 'html'; ob_start(); do_action( 'popmake_' . $field_id ); $field_args['content'] = ob_get_clean(); } unset( $field_args['name'] ); $tabs[ array_key_exists( $tab_id, $tabs ) ? $tab_id : 'general' ]['main'][ $field_id ] = $field_args; } } } return $tabs; }