Should I remove_filter in order to replace a filter?
Yes, you need to remove it first and then add your one. You can do it by calling remove_filter function like this: remove_filter( ‘wp_core_filter_hook’, ‘wp_core_filter_hook_handler’, 10 ); Pay attention at third parameter passed to function: it is priority, it should be the same as defined when the function was originally hooked, otherwise the filter hook … Read more