| Server IP : 43.130.17.34 / Your IP : 216.73.217.6 Web Server : nginx/1.28.0 System : Linux VM-4-12-opencloudos 6.6.92-34.1.oc9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 25 21:32:13 CST 2025 x86_64 User : www ( 1000) PHP Version : 8.0.26 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 : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/yespkg.com/wp-content/plugins/wpforms/src/Pro/Forms/Fields/Phone/ |
Upload File : |
<?php
namespace WPForms\Pro\Forms\Fields\Phone;
use WPForms_Field_Phone;
/**
* Editing Address field entries.
*
* @since 1.6.0
*/
class EntriesEdit extends \WPForms\Pro\Forms\Fields\Base\EntriesEdit {
/**
* Constructor.
*
* @since 1.6.0
*/
public function __construct() {
parent::__construct( 'phone' );
}
/**
* Enqueues for the Edit Entry page.
*
* @since 1.6.0
*/
public function enqueues() {
$min = wpforms_get_min_suffix();
// International Telephone Input library CSS.
wp_enqueue_style(
'wpforms-smart-phone-field',
WPFORMS_PLUGIN_URL . "assets/pro/css/fields/phone/intl-tel-input{$min}.css",
[],
WPForms_Field_Phone::INTL_VERSION
);
// Load International Telephone Input library - https://github.com/jackocnr/intl-tel-input.
wp_enqueue_script(
'wpforms-smart-phone-field',
WPFORMS_PLUGIN_URL . 'assets/pro/lib/intl-tel-input/module.intl-tel-input.min.js',
[],
WPForms_Field_Phone::INTL_VERSION,
true
);
// Load jQuery input mask library - https://github.com/RobinHerbots/jquery.inputmask.
wp_enqueue_script(
'wpforms-maskedinput',
WPFORMS_PLUGIN_URL . 'assets/lib/jquery.inputmask.min.js',
[ 'jquery' ],
'5.0.9',
true
);
}
}