Priority of "add_filter"
-
Hi Scott π !
on my pages I use
add_filter('the_content','search_and_replace_email');to convert clear email addresses with the embbed WP functionantispambot.
BTW, before showing the content, all my email addresses are hidden to bots.
It works fine on the dynamic part of the website, but when I generate my pages, it seems that my filter “doesn’t have the time” to parse my content, so emails addresses are not hidden… I’ve tried to change the priority by adding 999 at the end ofadd_filter('the_content','search_and_replace_email', 999);but with no more success.
Could you help me with that problem, please π ?TIA.
Amicably,
Pierre.
The topic ‘Priority of "add_filter"’ is closed to new replies.