HEX
Server: Apache
System: Linux ns308404 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
User: root (0)
PHP: 8.3.31
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/onlinedev.com/httpdocs/odv/wp-content/plugins/ninja-forms/includes/Fields/Phone.php
<?php if ( ! defined( 'ABSPATH' ) ) exit;

/**
 * Class NF_Fields_Phone
 */
class NF_Fields_Phone extends NF_Fields_Textbox
{
    protected $_name = 'phone';

    protected $_nicename = 'Phone';

    protected $_section = 'userinfo';

    protected $_icon = 'phone';

    protected $_type = 'textbox';

    protected $_templates = 'tel';

    public function __construct()
    {
        parent::__construct();

        $this->_nicename = esc_html__( 'Phone', 'ninja-forms' );

	    $this->_settings[ 'custom_name_attribute' ][ 'value' ] = 'phone';
	    $this->_settings[ 'personally_identifiable' ][ 'value' ] = '1';
    }
}