Edit File by line
/home/barbar84/www/wp-conte.../plugins/ninja-fo.../includes/Config
File: FormCalculationSettings.php
<?php if ( ! defined( 'ABSPATH' ) ) exit;
[0] Fix | Delete
[1] Fix | Delete
return apply_filters( 'ninja_forms_from_calculation_settings', array(
[2] Fix | Delete
[3] Fix | Delete
/*
[4] Fix | Delete
* Calculation
[5] Fix | Delete
*/
[6] Fix | Delete
[7] Fix | Delete
'calculations' => array(
[8] Fix | Delete
'name' => 'calculations',
[9] Fix | Delete
'type' => 'option-repeater',
[10] Fix | Delete
'label' => ' <a href="#" class="nf-add-new">' . esc_html__( 'Add New', 'ninja-forms' ) . '</a>',
[11] Fix | Delete
'width' => 'full',
[12] Fix | Delete
'group' => 'primary',
[13] Fix | Delete
'tmpl_row' => 'tmpl-nf-edit-setting-calculation-repeater-row',
[14] Fix | Delete
'columns' => array(
[15] Fix | Delete
'name' => array(
[16] Fix | Delete
'header' => esc_html__( 'Variable Name', 'ninja-forms' ),
[17] Fix | Delete
'default' => '',
[18] Fix | Delete
),
[19] Fix | Delete
'eq' => array(
[20] Fix | Delete
'header' => esc_html__( 'Equation', 'ninja-forms' ),
[21] Fix | Delete
'default' => '',
[22] Fix | Delete
),
[23] Fix | Delete
'dec' => array(
[24] Fix | Delete
'header' => esc_html__( 'Precision', 'ninja-forms' ),
[25] Fix | Delete
'default' => '2',
[26] Fix | Delete
),
[27] Fix | Delete
),
[28] Fix | Delete
'use_merge_tags' => array(
[29] Fix | Delete
'exclude' => array(
[30] Fix | Delete
'user', 'system', 'post'
[31] Fix | Delete
),
[32] Fix | Delete
),
[33] Fix | Delete
),
[34] Fix | Delete
[35] Fix | Delete
[36] Fix | Delete
));
[37] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function