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/select-f...
File: select-image.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Redux Framework select image 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__( 'Select Image', 'your-textdomain-here' ),
[13] Fix | Delete
'id' => 'select-select_image',
[14] Fix | Delete
'desc' => esc_html__( 'For full documentation on this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/core-fields/select-image.html" target="_blank">https://devs.redux.io/core-fields/select-image.html</a>',
[15] Fix | Delete
'subsection' => true,
[16] Fix | Delete
'fields' => array(
[17] Fix | Delete
array(
[18] Fix | Delete
'id' => 'opt-select_image',
[19] Fix | Delete
'type' => 'select_image',
[20] Fix | Delete
'presets' => true,
[21] Fix | Delete
'title' => esc_html__( 'Select Image', 'your-textdomain-here' ),
[22] Fix | Delete
'options' => array(
[23] Fix | Delete
array(
[24] Fix | Delete
'alt' => 'Preset 1',
[25] Fix | Delete
'img' => Redux_Core::$url . '../sample/presets/preset1.png',
[26] Fix | Delete
'presets' => array(
[27] Fix | Delete
'switch-on' => 1,
[28] Fix | Delete
'switch-off' => 1,
[29] Fix | Delete
'switch-parent' => 1,
[30] Fix | Delete
),
[31] Fix | Delete
),
[32] Fix | Delete
array(
[33] Fix | Delete
'alt' => 'Preset 2',
[34] Fix | Delete
'img' => Redux_Core::$url . '../sample/presets/preset2.png',
[35] Fix | Delete
'presets' => '{"opt-slider-label":"1", "opt-slider-text":"10"}',
[36] Fix | Delete
),
[37] Fix | Delete
),
[38] Fix | Delete
'default' => Redux_Core::$url . '../sample/presets/preset2.png',
[39] Fix | Delete
),
[40] Fix | Delete
array(
[41] Fix | Delete
'id' => 'opt-select-image',
[42] Fix | Delete
'type' => 'select_image',
[43] Fix | Delete
'title' => esc_html__( 'Select Image', 'your-textdomain-here' ),
[44] Fix | Delete
'subtitle' => esc_html__( 'A preview of the selected image will appear underneath the select box.', 'your-textdomain-here' ),
[45] Fix | Delete
'options' => $sample_patterns,
[46] Fix | Delete
'default' => Redux_Core::$url . '../sample/patterns/triangular.png',
[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