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

/**
 * Class NF_Fields_Zip
 */
class NF_Fields_Zip extends NF_Fields_Textbox
{
    protected $_name = 'zip';
    protected $_type = 'zip';

    protected $_nicename = 'Zip';

    protected $_section = 'userinfo';

    protected $_icon = 'map-marker';

    protected $_templates = array( 'zip', 'textbox', 'input' );

    protected $_test_value = '37312';

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

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

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