Viewing 2 replies - 1 through 2 (of 2 total)
  • @meadwench / Vicky

    The documentation for ‘the_content’ filter says this filter is applied to the post data retrieved from the database before it is displayed on a screen. I guess I can see what Memberpress are trying to say but emails do get displayed on screens too.
    (https://codex.www.ads-software.com/Plugin_API/Filter_Reference/the_content)

    If Subscribe2 stops using that filter, formatting, shortcodes and such WordPress features will not work within the emails.

    Workaround worth a try are:
    1/ Define a ‘Post Excerpt’ for each post – this will get used in the excerpt post content in preference and may not get filtered by Memberpress.
    2/ Maybe there is some setting in Memberpres to display and excerpt or starting portion of the post rather than the default message, that might work better with Subscribe2.
    3/ Final option is to amend the Subscribe2 code to stop using that filter yourself, or to remove the Memberpress addition to that filer before any Subscribe2 processing and then add it back afterwards.

    Thread Starter meadwench

    (@meadwench)

    Yeah, option 3 is what ended up happening. The Memberpress guys actually wrote a little plugin for the workaround. Thanks for getting back!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Subscribe2 using content filter – clashes with membership’ is closed to new replies.