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/presenta...
File: section.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Redux Framework section 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__( 'Section', 'your-textdomain-here' ),
[13] Fix | Delete
'id' => 'presentation-section',
[14] Fix | Delete
'desc' => esc_html__( 'For full documentation on this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/core-fields/section.html" target="_blank">https://devs.redux.io/core-fields/section.html</a>',
[15] Fix | Delete
'subsection' => true,
[16] Fix | Delete
'fields' => array(
[17] Fix | Delete
array(
[18] Fix | Delete
'id' => 'section-start',
[19] Fix | Delete
'type' => 'section',
[20] Fix | Delete
'title' => esc_html__( 'Section Example', 'your-textdomain-here' ),
[21] Fix | Delete
'subtitle' => esc_html__( 'With the "section" field you can create indented option sections.', 'your-textdomain-here' ),
[22] Fix | Delete
'indent' => true, // Indent all options below until the next 'section' option is set.
[23] Fix | Delete
),
[24] Fix | Delete
array(
[25] Fix | Delete
'id' => 'section-test',
[26] Fix | Delete
'type' => 'text',
[27] Fix | Delete
'title' => esc_html__( 'Field Title', 'your-textdomain-here' ),
[28] Fix | Delete
'subtitle' => esc_html__( 'Field Subtitle', 'your-textdomain-here' ),
[29] Fix | Delete
),
[30] Fix | Delete
array(
[31] Fix | Delete
'id' => 'section-test-media',
[32] Fix | Delete
'type' => 'media',
[33] Fix | Delete
'title' => esc_html__( 'Field Title', 'your-textdomain-here' ),
[34] Fix | Delete
'subtitle' => esc_html__( 'Field Subtitle', 'your-textdomain-here' ),
[35] Fix | Delete
),
[36] Fix | Delete
array(
[37] Fix | Delete
'id' => 'section-end',
[38] Fix | Delete
'type' => 'section',
[39] Fix | Delete
'indent' => false, // Indent all options below until the next 'section' option is set.
[40] Fix | Delete
),
[41] Fix | Delete
array(
[42] Fix | Delete
'id' => 'section-info',
[43] Fix | Delete
'type' => 'info',
[44] Fix | Delete
'desc' => esc_html__( 'And now you can add more fields below and outside of the indent.', 'your-textdomain-here' ),
[45] Fix | Delete
),
[46] Fix | Delete
),
[47] Fix | Delete
)
[48] Fix | Delete
);
[49] Fix | Delete
[50] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function