Edit File by line
/home/barbar84/www/wp-conte.../plugins/ninja-fo.../includes/Config
File: ActionSaveSettings.php
<?php if ( ! defined( 'ABSPATH' ) ) exit;
[0] Fix | Delete
[1] Fix | Delete
return apply_filters( 'ninja_forms_action_save_settings', array(
[2] Fix | Delete
[3] Fix | Delete
/*
[4] Fix | Delete
* To
[5] Fix | Delete
*/
[6] Fix | Delete
'submitter_email' => array(
[7] Fix | Delete
'name' => 'submitter_email',
[8] Fix | Delete
'type' => 'email-select',
[9] Fix | Delete
'options' => array(),
[10] Fix | Delete
'group' => 'advanced',
[11] Fix | Delete
'label' => esc_html__( 'Designated Submitter\'s Email Address', 'ninja-forms' ),
[12] Fix | Delete
'value' => '',
[13] Fix | Delete
'help' => esc_html__( 'The email address used in this field will be allowed to make data export and delete requests on behalf of their form submission.', 'ninja-forms' ),
[14] Fix | Delete
),
[15] Fix | Delete
[16] Fix | Delete
'fields_save_toggle' => array(
[17] Fix | Delete
'name' => 'fields-save-toggle',
[18] Fix | Delete
'type' => 'button-toggle',
[19] Fix | Delete
'width' => 'full',
[20] Fix | Delete
'options' => array(
[21] Fix | Delete
array( 'label' => esc_html__( 'Save All', 'ninja-forms' ), 'value' => 'save_all' ),
[22] Fix | Delete
array( 'label' => esc_html__( 'Save None', 'ninja-forms' ), 'value' => 'save_none' )
[23] Fix | Delete
),
[24] Fix | Delete
'group' => 'advanced',
[25] Fix | Delete
'label' => esc_html__( 'Fields', 'ninja-forms' ),
[26] Fix | Delete
'value' => 'save_all',
[27] Fix | Delete
),
[28] Fix | Delete
/*
[29] Fix | Delete
|--------------------------------------------------------------------------
[30] Fix | Delete
| Exception Field
[31] Fix | Delete
|--------------------------------------------------------------------------
[32] Fix | Delete
*/
[33] Fix | Delete
[34] Fix | Delete
'exception_fields' => array(
[35] Fix | Delete
'name' => 'exception_fields',
[36] Fix | Delete
'type' => 'option-repeater',
[37] Fix | Delete
'label' => esc_html__( 'Except', 'ninja-forms' ) . ' <a href="#" class="nf-add-new">' .
[38] Fix | Delete
esc_html__( 'Add New', 'ninja-forms' ) . '</a>',
[39] Fix | Delete
'width' => 'full',
[40] Fix | Delete
'group' => 'advanced',
[41] Fix | Delete
'tmpl_row' => 'nf-tmpl-save-field-repeater-row',
[42] Fix | Delete
'value' => array(),
[43] Fix | Delete
'columns' => array(
[44] Fix | Delete
'form_field' => array(
[45] Fix | Delete
'header' => esc_html__( 'Form Field', 'ninja-forms' ),
[46] Fix | Delete
'default' => '',
[47] Fix | Delete
'options' => array(),
[48] Fix | Delete
),
[49] Fix | Delete
),
[50] Fix | Delete
),
[51] Fix | Delete
[52] Fix | Delete
/*
[53] Fix | Delete
* Set subs to expire.
[54] Fix | Delete
*/
[55] Fix | Delete
'set_subs_to_expire' => array(
[56] Fix | Delete
'name' => 'set_subs_to_expire',
[57] Fix | Delete
'type' => 'toggle',
[58] Fix | Delete
'group' => 'advanced',
[59] Fix | Delete
'label' => esc_html__( 'Set Submissions to expire?', 'ninja-forms' ),
[60] Fix | Delete
'value' => 0,
[61] Fix | Delete
'help' => esc_html__( 'Sets submissions to be trashes after a certain number of days, it affects all existing and new submissions', 'ninja-forms' ),
[62] Fix | Delete
'width' => 'one-half',
[63] Fix | Delete
),
[64] Fix | Delete
[65] Fix | Delete
/*
[66] Fix | Delete
* Subs expire in?
[67] Fix | Delete
*/
[68] Fix | Delete
'subs_expire_time' => array(
[69] Fix | Delete
'name' => 'subs_expire_time',
[70] Fix | Delete
'type' => 'number',
[71] Fix | Delete
'group' => 'advanced',
[72] Fix | Delete
'label' => esc_html__( 'How long in days until subs expire?', 'ninja-forms' ),
[73] Fix | Delete
'value' => '90',
[74] Fix | Delete
'min_val' => 1, // new minimum value setting
[75] Fix | Delete
'max_val' => null, // new maximum value setting
[76] Fix | Delete
'width' => 'one-half',
[77] Fix | Delete
'deps' => array(
[78] Fix | Delete
'set_subs_to_expire' => 1
[79] Fix | Delete
)
[80] Fix | Delete
),
[81] Fix | Delete
));
[82] Fix | Delete
[83] Fix | Delete
[84] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function