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