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/clone/wp-conte.../plugins/redux-fr.../sample/sections/switch-b...
File: switch.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Redux Framework switch 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__( 'Switch', 'your-textdomain-here' ),
[13] Fix | Delete
'id' => 'switch_buttonset-switch',
[14] Fix | Delete
'desc' => esc_html__( 'For full documentation on this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/core-fields/switch.html" target="_blank">https://devs.redux.io/core-fields/switch.html</a>',
[15] Fix | Delete
'subsection' => true,
[16] Fix | Delete
'fields' => array(
[17] Fix | Delete
array(
[18] Fix | Delete
'id' => 'switch-on',
[19] Fix | Delete
'type' => 'switch',
[20] Fix | Delete
'title' => esc_html__( 'Switch On', 'your-textdomain-here' ),
[21] Fix | Delete
'subtitle' => esc_html__( 'Look, it\'s on!', 'your-textdomain-here' ),
[22] Fix | Delete
'default' => true,
[23] Fix | Delete
),
[24] Fix | Delete
array(
[25] Fix | Delete
'id' => 'switch-off',
[26] Fix | Delete
'type' => 'switch',
[27] Fix | Delete
'title' => esc_html__( 'Switch Off', 'your-textdomain-here' ),
[28] Fix | Delete
'subtitle' => esc_html__( 'Look, it\'s on!', 'your-textdomain-here' ),
[29] Fix | Delete
'default' => false,
[30] Fix | Delete
),
[31] Fix | Delete
array(
[32] Fix | Delete
'id' => 'switch-parent',
[33] Fix | Delete
'type' => 'switch',
[34] Fix | Delete
'title' => esc_html__( 'Switch - Nested Children, Enable to show', 'your-textdomain-here' ),
[35] Fix | Delete
'subtitle' => esc_html__( 'Look, it\'s on! Also hidden child elements!', 'your-textdomain-here' ),
[36] Fix | Delete
'default' => false,
[37] Fix | Delete
'on' => 'Enabled',
[38] Fix | Delete
'off' => 'Disabled',
[39] Fix | Delete
),
[40] Fix | Delete
array(
[41] Fix | Delete
'id' => 'switch-child1',
[42] Fix | Delete
'type' => 'switch',
[43] Fix | Delete
'required' => array( 'switch-parent', '=', true ),
[44] Fix | Delete
'title' => esc_html__( 'Switch - This and the next switch required for patterns to show', 'your-textdomain-here' ),
[45] Fix | Delete
'subtitle' => esc_html__( 'Also called a "fold" parent.', 'your-textdomain-here' ),
[46] Fix | Delete
'desc' => esc_html__( 'Items set with a fold to this ID will hide unless this is set to the appropriate value.', 'your-textdomain-here' ),
[47] Fix | Delete
'default' => false,
[48] Fix | Delete
),
[49] Fix | Delete
array(
[50] Fix | Delete
'id' => 'switch-child2',
[51] Fix | Delete
'type' => 'switch',
[52] Fix | Delete
'required' => array( 'switch-parent', '=', true ),
[53] Fix | Delete
'title' => esc_html__( 'Switch2 - Enable the above switch and this one for patterns to show', 'your-textdomain-here' ),
[54] Fix | Delete
'subtitle' => esc_html__( 'Also called a "fold" parent.', 'your-textdomain-here' ),
[55] Fix | Delete
'desc' => esc_html__( 'Items set with a fold to this ID will hide unless this is set to the appropriate value.', 'your-textdomain-here' ),
[56] Fix | Delete
'default' => false,
[57] Fix | Delete
),
[58] Fix | Delete
),
[59] Fix | Delete
)
[60] Fix | Delete
);
[61] Fix | Delete
[62] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function