-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
The filter for removing html tags in the titles seems to be active, even though I removed them through the functions.php
When removing the filters in the functions.php
exactly as explained in the code comments:
remove_filter( 'nav_menu_item_title', 'air_helper_strip_tags_menu_item', 10);
remove_filter( 'the_title', 'air_helper_strip_tags_menu_item', 10);
Html tags are still stripped in the titles.
Only when I remove filter completely in inc/misc.php:41
, html tags are not stripped anymore. I would then remove these two lines:
add_filter( 'nav_menu_item_title', 'air_helper_strip_tags_menu_item', 10, 4 );
add_filter( 'the_title', 'air_helper_strip_tags_menu_item', 10, 2 );
I haven't quite figured out why this is happening...
Is there some other function or priority filter that runs such that the remove_filter
in my functions.php
is being ignored?