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/extensio...
File: repeater.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Redux Repeater Sample config.
[2] Fix | Delete
* For full documentation, please visit: http:https://devs.redux.io/
[3] Fix | Delete
*
[4] Fix | Delete
* @package Redux
[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' => __( 'Repeater', 'your-textdomain-here' ),
[13] Fix | Delete
'desc' => esc_html__( 'For full documentation on this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/core-extensions/repeater.html" target="_blank">https://devs.redux.io/core-extensions/repeater.html</a>',
[14] Fix | Delete
'subsection' => true,
[15] Fix | Delete
'fields' => array(
[16] Fix | Delete
array(
[17] Fix | Delete
'id' => 'repeater-field-id',
[18] Fix | Delete
'type' => 'repeater',
[19] Fix | Delete
'title' => esc_html__( 'Repeater Demo', 'your-textdomain-here' ),
[20] Fix | Delete
'full_width' => true,
[21] Fix | Delete
'subtitle' => esc_html__( 'Repeater', 'your-textdomain-here' ),
[22] Fix | Delete
'item_name' => '',
[23] Fix | Delete
'sortable' => true,
[24] Fix | Delete
'active' => false,
[25] Fix | Delete
'collapsible' => false,
[26] Fix | Delete
'fields' => array(
[27] Fix | Delete
array(
[28] Fix | Delete
'id' => 'title_field',
[29] Fix | Delete
'type' => 'text',
[30] Fix | Delete
'placeholder' => esc_html__( 'Title', 'your-textdomain-here' ),
[31] Fix | Delete
),
[32] Fix | Delete
array(
[33] Fix | Delete
'id' => 'textarea_field',
[34] Fix | Delete
'type' => 'textarea',
[35] Fix | Delete
'placeholder' => esc_html__( 'Text Field', 'your-textdomain-here' ),
[36] Fix | Delete
'default' => 'Text Field here',
[37] Fix | Delete
'title' => esc_html__( 'Title', 'your-domain-here' ),
[38] Fix | Delete
),
[39] Fix | Delete
array(
[40] Fix | Delete
'id' => 'select_field',
[41] Fix | Delete
'type' => 'select',
[42] Fix | Delete
'multi' => true,
[43] Fix | Delete
'title' => esc_html__( 'Select Field', 'your-textdomain-here' ),
[44] Fix | Delete
'options' => array(
[45] Fix | Delete
'1' => esc_html__( 'Option 1', 'your-textdomain-here' ),
[46] Fix | Delete
'2' => esc_html__( 'Option 2', 'your-textdomain-here' ),
[47] Fix | Delete
'3' => esc_html__( 'Option 3', 'your-textdomain-here' ),
[48] Fix | Delete
),
[49] Fix | Delete
'placeholder' => esc_html__( 'Listing Field', 'your-textdomain-here' ),
[50] Fix | Delete
),
[51] Fix | Delete
array(
[52] Fix | Delete
'id' => 'switch_field',
[53] Fix | Delete
'type' => 'switch',
[54] Fix | Delete
'placeholder' => esc_html__( 'Switch Field', 'your-textdomain-here' ),
[55] Fix | Delete
'default' => true,
[56] Fix | Delete
),
[57] Fix | Delete
array(
[58] Fix | Delete
'id' => 'text_field',
[59] Fix | Delete
'title' => esc_html__( 'Text Field', 'your-textdomain-here' ),
[60] Fix | Delete
'type' => 'text',
[61] Fix | Delete
'placeholder' => esc_html__( 'Text Field', 'your-textdomain-here' ),
[62] Fix | Delete
'required' => array( 'switch_field', '=', false ),
[63] Fix | Delete
'default' => 'Text Field here',
[64] Fix | Delete
),
[65] Fix | Delete
),
[66] Fix | Delete
),
[67] Fix | Delete
),
[68] Fix | Delete
)
[69] Fix | Delete
);
[70] Fix | Delete
[71] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function