| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/stirizo/wp-content/plugins/wpforms/src/Pro/Forms/Fields/Phone/ |
Upload File : |
<?php
namespace WPForms\Pro\Forms\Fields\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",
[],
'17.0.17'
);
// 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/jquery.intl-tel-input.min.js',
[ 'jquery' ],
'17.0.17',
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.7-beta.29',
true
);
}
}