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

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-conte.../themes/herald/core
File: extensions.php
function herald_social_share_modify_options( $options ) {
[500] Fix | Delete
[501] Fix | Delete
// $options['style'] = '4';
[502] Fix | Delete
// $options['variant'] = '1';
[503] Fix | Delete
// $options['color']['type'] = 'brand';
[504] Fix | Delete
$options['location'] = 'custom';
[505] Fix | Delete
$options['post_type'] = array('post');
[506] Fix | Delete
$options['label_share']['active'] = '0';
[507] Fix | Delete
[508] Fix | Delete
return $options;
[509] Fix | Delete
}
[510] Fix | Delete
endif;
[511] Fix | Delete
[512] Fix | Delete
/**
[513] Fix | Delete
* Filter for social share default options
[514] Fix | Delete
*
[515] Fix | Delete
* @param array $options - Array of options
[516] Fix | Delete
* @return array
[517] Fix | Delete
* @since 1.2
[518] Fix | Delete
*/
[519] Fix | Delete
add_filter( 'meks_ess_modify_defaults', 'herald_social_share_modify_defaults' );
[520] Fix | Delete
[521] Fix | Delete
if ( !function_exists( 'herald_social_share_modify_defaults' ) ):
[522] Fix | Delete
function herald_social_share_modify_defaults( $defaults ) {
[523] Fix | Delete
[524] Fix | Delete
$defaults['style'] = '4';
[525] Fix | Delete
[526] Fix | Delete
return $defaults;
[527] Fix | Delete
}
[528] Fix | Delete
endif;
[529] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function