Hello,
I got the same issue but cannot resolve it.
I would like update a function in sf-theme-overrides.php.
I tried this in my function.php
remove_filter(‘sf_add_to_wishlist_icon’, ‘sf_atelier_add_to_wishlist_icon’);
function hk_atelier_add_to_wishlist_icon() {
return ‘<i class=”sf-icon-wishlist”></i><span>Ajouter à la liste</span>’;
}
add_filter(‘sf_add_to_wishlist_icon’, ‘hk_atelier_add_to_wishlist_icon’);
But it’s not working, also if I just copy past the function from original file (and do not update the name), I got this message:
Fatal error: Cannot redeclare sf_atelier_add_to_wishlist_icon() (previously declared in /home/byluxema/staging/2/wp-content/themes/byluxemarket/functions.php:162) in /home/byluxema/staging/2/wp-content/themes/atelier/includes/overrides/sf-theme-overrides.php on line 122
Please help