: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
function herald_social_share_modify_options( $options ) {
// $options['style'] = '4';
// $options['variant'] = '1';
// $options['color']['type'] = 'brand';
$options['location'] = 'custom';
$options['post_type'] = array('post');
$options['label_share']['active'] = '0';
* Filter for social share default options
* @param array $options - Array of options
add_filter( 'meks_ess_modify_defaults', 'herald_social_share_modify_defaults' );
if ( !function_exists( 'herald_social_share_modify_defaults' ) ):
function herald_social_share_modify_defaults( $defaults ) {
$defaults['style'] = '4';