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: button-set.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Redux Framework button set 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__( 'Button Set', 'your-textdomain-here' ),
[13] Fix | Delete
'id' => 'switch_buttonset-set',
[14] Fix | Delete
'desc' => esc_html__( 'For full documentation on this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/core-fields/button-set.html" target="_blank">https://devs.redux.io/core-fields/button-set.html</a>',
[15] Fix | Delete
'subsection' => true,
[16] Fix | Delete
'fields' => array(
[17] Fix | Delete
array(
[18] Fix | Delete
'id' => 'opt-button-set',
[19] Fix | Delete
'type' => 'button_set',
[20] Fix | Delete
'title' => esc_html__( 'Button Set Option', 'your-textdomain-here' ),
[21] Fix | Delete
'subtitle' => esc_html__( 'No validation can be done on this field type', 'your-textdomain-here' ),
[22] Fix | Delete
'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
[23] Fix | Delete
[24] Fix | Delete
// Must provide key => value pairs for radio options.
[25] Fix | Delete
'options' => array(
[26] Fix | Delete
'1' => 'Opt 1',
[27] Fix | Delete
'2' => 'Opt 2',
[28] Fix | Delete
'3' => 'Opt 3',
[29] Fix | Delete
),
[30] Fix | Delete
'default' => '2',
[31] Fix | Delete
),
[32] Fix | Delete
array(
[33] Fix | Delete
'id' => 'opt-button-set-multi',
[34] Fix | Delete
'type' => 'button_set',
[35] Fix | Delete
'title' => esc_html__( 'Button Set, Multi Select', 'your-textdomain-here' ),
[36] Fix | Delete
'subtitle' => esc_html__( 'No validation can be done on this field type', 'your-textdomain-here' ),
[37] Fix | Delete
'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
[38] Fix | Delete
'multi' => true,
[39] Fix | Delete
[40] Fix | Delete
// Must provide key => value pairs for radio options.
[41] Fix | Delete
'options' => array(
[42] Fix | Delete
'1' => 'Opt 1',
[43] Fix | Delete
'2' => 'Opt 2',
[44] Fix | Delete
'3' => 'Opt 3',
[45] Fix | Delete
),
[46] Fix | Delete
'default' => array( '2', '3' ),
[47] Fix | Delete
),
[48] Fix | Delete
),
[49] Fix | Delete
)
[50] Fix | Delete
);
[51] Fix | Delete
[52] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function