File Manager / wp-content Search Upload New Item Settings File "db5.php" Full path: /home1/epichome/public_html/wp-content/db5.php File size: 60.67 B (60.67 KB bytes) MIME-type: text/x-php Charset: utf-8 Download Open Edit Advanced Editor Back
/home/pharmacy/www/wp-content/plugins/ninja-forms/includes/Fields/Address.php
<?php if ( ! defined( 'ABSPATH' ) ) exit;

/**
 * Class NF_Fields_Address
 */
class NF_Fields_Address extends NF_Fields_Textbox
{
    protected $_name = 'address';
    protected $_type = 'address';

    protected $_nicename = 'Address';

    protected $_section = 'userinfo';

    protected $_icon = 'map-marker';

    protected $_templates = 'address';

    protected $_test_value = '123 Main Street';

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

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

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