Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: "the_content" filter is removed but NOT restored, on custom WP_Query

@plauclair

Participant

Hi tzeldin88,

I had a similar problem. I am using various get_post_field calls to display parts of a footer that need to be editable by a client and needed to do apply_filters(‘the_content’,$x).

I have found that if I call bbp_restore_all_filters('the_content',0);, it will bring the filter back, but it doesn’t affect the rest of the forum. 🙂 I would assume that calling the bbp_remove_all_filters() function after will disable it back.

Hopefully my example here is clearer.
http://pastebin.com/BdiMFGTV

Skip to toolbar