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: dimensions.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Redux Framework dimensions 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__( 'Dimensions', 'your-textdomain-here' ),
[13] Fix | Delete
'id' => 'design-dimensions',
[14] Fix | Delete
'desc' => esc_html__( 'For full documentation on this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/core-fields/dimensions.html" target="_blank">https://devs.redux.io/core-fields/dimensions.html</a>',
[15] Fix | Delete
'subsection' => true,
[16] Fix | Delete
'fields' => array(
[17] Fix | Delete
array(
[18] Fix | Delete
'id' => 'opt-dimensions',
[19] Fix | Delete
'type' => 'dimensions',
[20] Fix | Delete
'units' => array( 'em', 'px', '%' ), // You can specify a unit value. Possible: px, em, %.
[21] Fix | Delete
'units_extended' => 'true', // Allow users to select any type of unit.
[22] Fix | Delete
'title' => esc_html__( 'Dimensions (Width/Height) Option', 'your-textdomain-here' ),
[23] Fix | Delete
'subtitle' => esc_html__( 'Allow your users to choose width, height, and/or unit.', 'your-textdomain-here' ),
[24] Fix | Delete
'desc' => esc_html__( 'You can enable or disable any piece of this field. Width, Height, or Units.', 'your-textdomain-here' ),
[25] Fix | Delete
'default' => array(
[26] Fix | Delete
'width' => 200,
[27] Fix | Delete
'height' => 100,
[28] Fix | Delete
),
[29] Fix | Delete
),
[30] Fix | Delete
array(
[31] Fix | Delete
'id' => 'opt-dimensions-width',
[32] Fix | Delete
'type' => 'dimensions',
[33] Fix | Delete
'units' => array( 'em', 'px', '%' ), // You can specify a unit value. Possible: px, em, %.
[34] Fix | Delete
'units_extended' => 'true', // Allow users to select any type of unit.
[35] Fix | Delete
'title' => esc_html__( 'Dimensions (Width) Option', 'your-textdomain-here' ),
[36] Fix | Delete
'subtitle' => esc_html__( 'Allow your users to choose width, height, and/or unit.', 'your-textdomain-here' ),
[37] Fix | Delete
'desc' => esc_html__( 'You can enable or disable any piece of this field. Width, Height, or Units.', 'your-textdomain-here' ),
[38] Fix | Delete
'height' => false,
[39] Fix | Delete
'default' => array(
[40] Fix | Delete
'width' => 200,
[41] Fix | Delete
'height' => 100,
[42] Fix | Delete
),
[43] Fix | Delete
),
[44] Fix | Delete
),
[45] Fix | Delete
)
[46] Fix | Delete
);
[47] Fix | Delete
[48] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function