Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/ninja-fo.../includes/Fields
File: Address2.php
<?php if ( ! defined( 'ABSPATH' ) ) exit;
[0] Fix | Delete
[1] Fix | Delete
/**
[2] Fix | Delete
* Class NF_Fields_Address2
[3] Fix | Delete
*/
[4] Fix | Delete
class NF_Fields_Address2 extends NF_Fields_Textbox
[5] Fix | Delete
{
[6] Fix | Delete
protected $_name = 'address2';
[7] Fix | Delete
protected $type = 'address2';
[8] Fix | Delete
[9] Fix | Delete
protected $_nicename = 'Address 2';
[10] Fix | Delete
[11] Fix | Delete
protected $_icon = 'map-marker';
[12] Fix | Delete
[13] Fix | Delete
protected $_section = '';
[14] Fix | Delete
[15] Fix | Delete
protected $_templates = array( 'address2', 'address' );
[16] Fix | Delete
[17] Fix | Delete
public function __construct()
[18] Fix | Delete
{
[19] Fix | Delete
parent::__construct();
[20] Fix | Delete
[21] Fix | Delete
$this->_nicename = esc_html__( 'Address 2', 'ninja-forms' );
[22] Fix | Delete
[23] Fix | Delete
$this->_settings[ 'custom_name_attribute' ][ 'value' ] = 'address';
[24] Fix | Delete
$this->_settings[ 'personally_identifiable' ][ 'value' ] = '1';
[25] Fix | Delete
}
[26] Fix | Delete
}
[27] Fix | Delete
[28] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function