Correct filters for removing wptexturize
Could anyone point me in the right direction so I can identify the filters used in bbpress so that I might remove wptexturize?
I have identified those required for WordPress itself, but bbpress appears to use different filters. The WordPress ones I successfully used are:
remove_filter( ‘the_title’, ‘wptexturize’ );
remove_filter( ‘the_content’, ‘wptexturize’ );
remove_filter( ‘the_excerpt’, ‘wptexturize’ );
remove_filter( ‘comment_text’, ‘wptexturize’ );
Which I added to functions.php of a child theme.
I then identified what I thought were the required filters in bbpress from here:
…and added the following to functions.php to no effect:
remove_filter( ‘bbp_get_reply_content’, ‘wptexturize’);
remove_filter( ‘bbp_get_topic_content’, ‘wptexturize’);
These filters do not work, so I assume they are not the correct ones. Any ideas what the correct filters are?
You must be logged in to reply to this topic.