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/City.php
<?php if ( ! defined( 'ABSPATH' ) ) exit;

/**
 * Class NF_Fields_City
 */
class NF_Fields_City extends NF_Fields_Textbox
{
    protected $_name = 'city';
    protected $_type = 'city';

    protected $_nicename = 'City';

    protected $_section = 'userinfo';

    protected $_icon = 'map-marker';

    protected $_templates = 'city';

    protected $_test_value = 'Cleveland';

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

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

	    $this->_settings[ 'custom_name_attribute' ][ 'value' ] = 'city';
    }
}