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/media-up...
File: media.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Redux Framework media 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__( 'Media', 'your-textdomain-here' ),
[13] Fix | Delete
'id' => 'media-media',
[14] Fix | Delete
'desc' => esc_html__( 'For full documentation on this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/core-fields/media.html" target="_blank">https://devs.redux.io/core-fields/media.html</a>',
[15] Fix | Delete
'subsection' => true,
[16] Fix | Delete
'fields' => array(
[17] Fix | Delete
array(
[18] Fix | Delete
'id' => 'opt-media',
[19] Fix | Delete
'type' => 'media',
[20] Fix | Delete
'url' => true,
[21] Fix | Delete
'title' => esc_html__( 'Media w/ URL', 'your-textdomain-here' ),
[22] Fix | Delete
'compiler' => 'true',
[23] Fix | Delete
'desc' => esc_html__( 'Basic media uploader with disabled URL input field.', 'your-textdomain-here' ),
[24] Fix | Delete
'subtitle' => esc_html__( 'Upload any media using the WordPress native uploader', 'your-textdomain-here' ),
[25] Fix | Delete
'preview_size' => 'full',
[26] Fix | Delete
),
[27] Fix | Delete
array(
[28] Fix | Delete
'id' => 'media-no-url',
[29] Fix | Delete
'type' => 'media',
[30] Fix | Delete
'title' => esc_html__( 'Media w/o URL', 'your-textdomain-here' ),
[31] Fix | Delete
'desc' => esc_html__( 'This represents the minimalistic view. It does not have the preview box or the display URL in an input box. ', 'your-textdomain-here' ),
[32] Fix | Delete
'subtitle' => esc_html__( 'Upload any media using the WordPress native uploader', 'your-textdomain-here' ),
[33] Fix | Delete
'url' => false,
[34] Fix | Delete
'preview' => true,
[35] Fix | Delete
),
[36] Fix | Delete
array(
[37] Fix | Delete
'id' => 'media-no-preview',
[38] Fix | Delete
'type' => 'media',
[39] Fix | Delete
'preview' => false,
[40] Fix | Delete
'title' => esc_html__( 'Media No Preview', 'your-textdomain-here' ),
[41] Fix | Delete
'desc' => esc_html__( 'This represents the minimalistic view. It does not have the preview box or the display URL in an input box. ', 'your-textdomain-here' ),
[42] Fix | Delete
'subtitle' => esc_html__( 'Upload any media using the WordPress native uploader', 'your-textdomain-here' ),
[43] Fix | Delete
'hint' => array(
[44] Fix | Delete
'title' => esc_html__( 'Test Hint', 'your-textdomain-here' ),
[45] Fix | Delete
'content' => wp_kses_post( 'This is a <b>hint</b> tool-tip for the webFonts field.<br/><br/>Add any HTML-based text you like here.' ),
[46] Fix | Delete
),
[47] Fix | Delete
),
[48] Fix | Delete
array(
[49] Fix | Delete
'id' => 'opt-random-upload',
[50] Fix | Delete
'type' => 'media',
[51] Fix | Delete
'title' => esc_html__( 'Upload Anything - Disabled Mode', 'your-textdomain-here' ),
[52] Fix | Delete
'full_width' => true,
[53] Fix | Delete
[54] Fix | Delete
// Can be set to false to allow any media type, or can also be set to any mime type.
[55] Fix | Delete
'mode' => false,
[56] Fix | Delete
[57] Fix | Delete
'desc' => esc_html__( 'Basic media uploader with disabled URL input field.', 'your-textdomain-here' ),
[58] Fix | Delete
'subtitle' => esc_html__( 'Upload any media using the WordPress native uploader', 'your-textdomain-here' ),
[59] Fix | Delete
),
[60] Fix | Delete
array(
[61] Fix | Delete
'id' => 'opt-media-filter',
[62] Fix | Delete
'type' => 'media',
[63] Fix | Delete
'url' => true,
[64] Fix | Delete
'title' => esc_html__( 'Media w/ URL', 'your-textdomain-here' ),
[65] Fix | Delete
'compiler' => true,
[66] Fix | Delete
'desc' => esc_html__( 'Basic media uploader with disabled URL input field.', 'your-textdomain-here' ),
[67] Fix | Delete
'subtitle' => esc_html__( 'Upload any media using the WordPress native uploader', 'your-textdomain-here' ),
[68] Fix | Delete
'preview_size' => 'full',
[69] Fix | Delete
'default' => array(
[70] Fix | Delete
'url' => 'https://s.wordpress.org/style/images/codeispoetry.png',
[71] Fix | Delete
'filter' => array(
[72] Fix | Delete
'grayscale' => array(
[73] Fix | Delete
'checked' => true,
[74] Fix | Delete
'value' => 50,
[75] Fix | Delete
),
[76] Fix | Delete
),
[77] Fix | Delete
),
[78] Fix | Delete
'filter' => array(
[79] Fix | Delete
'grayscale' => true,
[80] Fix | Delete
'blur' => true,
[81] Fix | Delete
'sepia' => true,
[82] Fix | Delete
'saturate' => true,
[83] Fix | Delete
'opacity' => true,
[84] Fix | Delete
'brightness' => true,
[85] Fix | Delete
'contrast' => true,
[86] Fix | Delete
'hue-rotate' => true,
[87] Fix | Delete
'invert' => true,
[88] Fix | Delete
),
[89] Fix | Delete
'output' => array( '.header-image img, .site-logo, .wp-block-site-logo' ),
[90] Fix | Delete
),
[91] Fix | Delete
array(
[92] Fix | Delete
'id' => 'media-no-url-filter',
[93] Fix | Delete
'type' => 'media',
[94] Fix | Delete
'title' => esc_html__( 'Media w/o URL', 'your-textdomain-here' ),
[95] Fix | Delete
'desc' => esc_html__( 'This represents the minimalistic view. It does not have the preview box or the display URL in an input box. ', 'your-textdomain-here' ),
[96] Fix | Delete
'subtitle' => esc_html__( 'Upload any media using the WordPress native uploader', 'your-textdomain-here' ),
[97] Fix | Delete
'url' => false,
[98] Fix | Delete
'filter' => array(
[99] Fix | Delete
'grayscale' => true,
[100] Fix | Delete
'blur' => true,
[101] Fix | Delete
),
[102] Fix | Delete
'preview' => true,
[103] Fix | Delete
'preview_size' => 'full',
[104] Fix | Delete
),
[105] Fix | Delete
),
[106] Fix | Delete
)
[107] Fix | Delete
);
[108] Fix | Delete
[109] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function