Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/redux-fr.../sample/sections/disablin...
File: disable-field.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Redux Framework disable field config.
[2] Fix | Delete
* For full documentation, please visit: http://devs.redux.io/
[3] Fix | Delete
*
[4] Fix | Delete
* @package Redux Framework
[5] Fix | Delete
*/
[6] Fix | Delete
[7] Fix | Delete
defined( 'ABSPATH' ) || exit;
[8] Fix | Delete
[9] Fix | Delete
Redux::set_section(
[10] Fix | Delete
$opt_name,
[11] Fix | Delete
array(
[12] Fix | Delete
'title' => esc_html__( 'Disable Field', 'your-textdomain-here' ),
[13] Fix | Delete
'id' => 'basic-checkbox-disable',
[14] Fix | Delete
'subsection' => true,
[15] Fix | Delete
'customizer_width' => '450px',
[16] Fix | Delete
'desc' => esc_html__( 'For full documentation on this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/core-fields/checkbox.html" target="_blank">https://devs.redux.io/core-fields/checkbox.html</a>',
[17] Fix | Delete
'fields' => array(
[18] Fix | Delete
array(
[19] Fix | Delete
'id' => 'opt-checkbox-disable',
[20] Fix | Delete
'type' => 'checkbox',
[21] Fix | Delete
'title' => esc_html__( 'Checkbox Option', 'your-textdomain-here' ),
[22] Fix | Delete
'subtitle' => esc_html__( 'No validation can be done on this field type', 'your-textdomain-here' ),
[23] Fix | Delete
'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
[24] Fix | Delete
'disabled' => true,
[25] Fix | Delete
'default' => '1', // 1 = on | 0 = off.
[26] Fix | Delete
),
[27] Fix | Delete
),
[28] Fix | Delete
)
[29] Fix | Delete
);
[30] Fix | Delete
[31] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function