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/editors
File: ace-editor.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Redux Framework ACE editor 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__( 'ACE Editor', 'your-textdomain-here' ),
[13] Fix | Delete
'id' => 'editor-ace',
[14] Fix | Delete
'subsection' => true,
[15] Fix | Delete
'desc' => esc_html__( 'For full documentation on the this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/core-fields/ace-editor.html" target="_blank">https://devs.redux.io/core-fields/ace-editor.html</a>',
[16] Fix | Delete
'fields' => array(
[17] Fix | Delete
array(
[18] Fix | Delete
'id' => 'opt-ace-editor-css',
[19] Fix | Delete
'type' => 'ace_editor',
[20] Fix | Delete
'title' => esc_html__( 'CSS Code', 'your-textdomain-here' ),
[21] Fix | Delete
'subtitle' => esc_html__( 'Paste your CSS code here.', 'your-textdomain-here' ),
[22] Fix | Delete
'mode' => 'css',
[23] Fix | Delete
'theme' => 'monokai',
[24] Fix | Delete
'desc' => 'Possible modes can be found at <a href="//ace.c9.io" target="_blank">ace.c9.io/</a>.',
[25] Fix | Delete
'default' => '#header{
[26] Fix | Delete
margin: 0 auto;
[27] Fix | Delete
}',
[28] Fix | Delete
),
[29] Fix | Delete
array(
[30] Fix | Delete
'id' => 'opt-ace-editor-js',
[31] Fix | Delete
'type' => 'ace_editor',
[32] Fix | Delete
'title' => esc_html__( 'JS Code', 'your-textdomain-here' ),
[33] Fix | Delete
'subtitle' => esc_html__( 'Paste your JS code here.', 'your-textdomain-here' ),
[34] Fix | Delete
'mode' => 'javascript',
[35] Fix | Delete
'theme' => 'chrome',
[36] Fix | Delete
'desc' => 'Possible modes can be found at <a href="//ace.c9.io" target="_blank">ace.c9.io/</a>.',
[37] Fix | Delete
'default' => 'jQuery(document).ready(function(){\n\n});',
[38] Fix | Delete
),
[39] Fix | Delete
array(
[40] Fix | Delete
'id' => 'opt-ace-editor-php',
[41] Fix | Delete
'type' => 'ace_editor',
[42] Fix | Delete
'full_width' => true,
[43] Fix | Delete
'title' => esc_html__( 'PHP Code', 'your-textdomain-here' ),
[44] Fix | Delete
'subtitle' => esc_html__( 'Paste your PHP code here.', 'your-textdomain-here' ),
[45] Fix | Delete
'mode' => 'php',
[46] Fix | Delete
'theme' => 'chrome',
[47] Fix | Delete
'desc' => 'Possible modes can be found at <a href="//ace.c9.io" target="_blank">ace.c9.io/</a>.',
[48] Fix | Delete
'default' => '<?php
[49] Fix | Delete
echo "PHP String";',
[50] Fix | Delete
),
[51] Fix | Delete
),
[52] Fix | Delete
)
[53] Fix | Delete
);
[54] Fix | Delete
[55] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function