This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

apply_filters the_content interferes with Easy Forms for Mailchimp

10 years ago

hi again!

The update to version 6.0.2.4 of Easy Forms for Mailchimp includes processing shortcodes in the description for a form, using apply_filters(‘the_content’, …). This leads to a recursion in PageBuilder.

I saw a few more threads about interference around this filter. I’m quite new to WordPress code development, but had a look into the siteorigin_panels_filter_content() function. From what is appears to do, I was wondering if the main work in that function shouldn’t be hooked into ‘the_post’, instead of using a global reference to $post and possibly replacing existing content within this function hooked to ‘the_content’?

https://codex.wordpress.org/Plugin_API/Action_Reference/the_post

Thanks!

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Have a different question or issue?

Start New Thread