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/basic-fi...
File: sortable.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Redux Framework sortable 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__( 'Sortable', 'your-textdomain-here' ),
[13] Fix | Delete
'id' => 'basic-sortable',
[14] Fix | Delete
'subsection' => true,
[15] Fix | Delete
'desc' => esc_html__( 'For full documentation on this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/core-fields/sortable.html" target="_blank">https://devs.redux.io/core-fields/sortable.html</a>',
[16] Fix | Delete
'fields' => array(
[17] Fix | Delete
array(
[18] Fix | Delete
'id' => 'opt-sortable',
[19] Fix | Delete
'type' => 'sortable',
[20] Fix | Delete
'title' => esc_html__( 'Sortable Text Option', 'your-textdomain-here' ),
[21] Fix | Delete
'subtitle' => esc_html__( 'Define and reorder these however you want.', '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
'label' => true,
[24] Fix | Delete
'options' => array(
[25] Fix | Delete
'Text One' => 'Item 1',
[26] Fix | Delete
'Text Two' => 'Item 2',
[27] Fix | Delete
'Text Three' => 'Item 3',
[28] Fix | Delete
),
[29] Fix | Delete
),
[30] Fix | Delete
array(
[31] Fix | Delete
'id' => 'opt-check-sortable',
[32] Fix | Delete
'type' => 'sortable',
[33] Fix | Delete
'mode' => 'toggle', // toggle or text.
[34] Fix | Delete
'title' => esc_html__( 'Sortable Toggle Option', 'your-textdomain-here' ),
[35] Fix | Delete
'subtitle' => esc_html__( 'Define and reorder these however you want.', 'your-textdomain-here' ),
[36] Fix | Delete
'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
[37] Fix | Delete
'options' => array(
[38] Fix | Delete
'cb1' => 'Option One',
[39] Fix | Delete
'cb2' => 'Option Two',
[40] Fix | Delete
'cb3' => 'Option Three',
[41] Fix | Delete
),
[42] Fix | Delete
'default' => array(
[43] Fix | Delete
'cb1' => false,
[44] Fix | Delete
'cb2' => true,
[45] Fix | Delete
'cb3' => false,
[46] Fix | Delete
),
[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