• Resolved fneumeier

    (@fneumeier)


    Hi,

    I’m using a WordPress filter (on get_the_excerpt) in the functions.php to alter the excerpt (adding the word “-advertising-” prior to an excerpt when the post is in a specific category).

    Unfortunately, when Mailpoet retrieves the excerpt, this filter doesn’t seam to be executed.

    Can you give me some insight on how Mailpoet is retrieving the excerpt for a post when sending a “latest posts” newsletter, so I can find a way to solve this issue?

    Thanks and kind regard
    Franz

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @fneumeier!

    Actually, we get the excerpt directly from the post $post->post_excerpt, there is a function get_the_excerpt($post) which we should call so that the filter you’re using is executed.

    I’ve reported this to our devs, so they will take a further look into it and fix it. However, this might take time and we can’t provide you an ETA. We will follow up with you once this is handled.

    Thanks!

    Thread Starter fneumeier

    (@fneumeier)

    With that info, I can dig deeper into the issue here as well. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘filters for excerpts not executed’ is closed to new replies.