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/design-f...
File: spacing.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Redux Framework spacing 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__( 'Spacing', 'your-textdomain-here' ),
[13] Fix | Delete
'id' => 'design-spacing',
[14] Fix | Delete
'desc' => esc_html__( 'For full documentation on this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/core-fields/spacing.html" target="_blank">https://devs.redux.io/core-fields/spacing.html</a>',
[15] Fix | Delete
'subsection' => true,
[16] Fix | Delete
'fields' => array(
[17] Fix | Delete
array(
[18] Fix | Delete
'id' => 'opt-spacing',
[19] Fix | Delete
'type' => 'spacing',
[20] Fix | Delete
'output' => array( '.site-header, header' ),
[21] Fix | Delete
[22] Fix | Delete
// absolute, padding, margin, defaults to padding.
[23] Fix | Delete
'mode' => 'margin',
[24] Fix | Delete
[25] Fix | Delete
// Have one field that applies to all.
[26] Fix | Delete
'all' => true,
[27] Fix | Delete
[28] Fix | Delete
// You can specify a unit value. Possible: px, em, %.
[29] Fix | Delete
'units' => 'em',
[30] Fix | Delete
[31] Fix | Delete
// Set to false to hide the units if the units are specified.
[32] Fix | Delete
'display_units' => false,
[33] Fix | Delete
'title' => esc_html__( 'Padding/Margin Option', 'your-textdomain-here' ),
[34] Fix | Delete
'subtitle' => esc_html__( 'Allow your users to choose the spacing or margin they want.', 'your-textdomain-here' ),
[35] Fix | Delete
'desc' => esc_html__( 'You can enable or disable any piece of this field. Top, Right, Bottom, Left, or Units.', 'your-textdomain-here' ),
[36] Fix | Delete
'default' => array(
[37] Fix | Delete
'margin-top' => '1',
[38] Fix | Delete
'margin-right' => '2',
[39] Fix | Delete
'margin-bottom' => '3',
[40] Fix | Delete
'margin-left' => '4',
[41] Fix | Delete
'units' => 'em',
[42] Fix | Delete
),
[43] Fix | Delete
[44] Fix | Delete
// phpcs:ignore Squiz.PHP.CommentedOutCode
[45] Fix | Delete
// Allow users to select any type of unit.
[46] Fix | Delete
// 'units_extended'=> 'true', // Enable extended units.
[47] Fix | Delete
// 'top' => false, // Disable the top.
[48] Fix | Delete
// 'right' => false, // Disable the right.
[49] Fix | Delete
// 'bottom' => false, // Disable the bottom.
[50] Fix | Delete
// 'left' => false, // Disable the left.
[51] Fix | Delete
),
[52] Fix | Delete
array(
[53] Fix | Delete
'id' => 'opt-spacing-expanded',
[54] Fix | Delete
'type' => 'spacing',
[55] Fix | Delete
'mode' => 'margin',
[56] Fix | Delete
'all' => false,
[57] Fix | Delete
'units' => array( 'em', 'px', '%' ),
[58] Fix | Delete
'units_extended' => true,
[59] Fix | Delete
'title' => __( 'Padding/Margin Option', 'your-textdomain-here' ),
[60] Fix | Delete
'subtitle' => __( 'Allow your users to choose the spacing or margin they want.', 'your-textdomain-here' ),
[61] Fix | Delete
'desc' => __( 'You can enable or disable any piece of this field. Top, Right, Bottom, Left, or Units.', 'your-textdomain-here' ),
[62] Fix | Delete
'default' => array(
[63] Fix | Delete
'margin-top' => '1',
[64] Fix | Delete
'margin-right' => '2',
[65] Fix | Delete
'margin-bottom' => '3',
[66] Fix | Delete
'margin-left' => '5',
[67] Fix | Delete
'units' => 'em',
[68] Fix | Delete
),
[69] Fix | Delete
),
[70] Fix | Delete
),
[71] Fix | Delete
)
[72] Fix | Delete
);
[73] Fix | Delete
[74] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function