Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author KittMedia

    (@kittmedia)

    Hi there!

    Thank you for the report. I believe it’s kind of “working as intended” here since I changed the way embeds are handled since version 1.6.0. This leaves custom content as is by default for technical reasons. However, I can re-add the functionality for ACF, but can’t say anything regarding a timeline for that.

    Best regards,
    Matthias

    Thread Starter jhtjards

    (@jhtjards)

    Is there a quick way for me to add this via the themes functions.php?
    ACF uses the filter “acf_the_content” maybe hook into that somehow?

    Plugin Author KittMedia

    (@kittmedia)

    Without taking a deeper look into it, I just can assume that you need to add an add_filter( 'acf_the_content' [ $this, 'replace_embeds' ] ); after line 272 in the file wp-content/plugins/embed-privacy/inc/class-embed-privacy.php:
    https://github.com/epiphyt/embed-privacy/blob/main/inc/class-embed-privacy.php#L272

    Thread Starter jhtjards

    (@jhtjards)

    Yep, that worked perfectly. Thanks a lot!
    Btw: I don’t see a reason why this line shouldn’t be included in the plugin as it restores the previous functionality.

    Plugin Author KittMedia

    (@kittmedia)

    This is the idea. 🙂

    Thank you for the response.

    Plugin Author KittMedia

    (@kittmedia)

    Should be fixed with 1.6.3, which is now available.

    Thread Starter jhtjards

    (@jhtjards)

    Thanks!

    Sorry, but I can’t find this line in version 1.6.5 – has it gone again?

    Plugin Author KittMedia

    (@kittmedia)

    You simply don’t need to, it should work just fine.

    I use videos inside an acf repeater field (for an accordion with wysiwyg-field) and it doesn’t work. when I insert the line add_filter( ‘acf_the_content’, [ $this, ‘replace_embeds’ ], 10, 2 ); everthing works like a charme.

    Plugin Author KittMedia

    (@kittmedia)

    Then please create a new topic as this is a new issue.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Embed Privacy stopped working in ACF WYSIWYG Field after version 1.5.1’ is closed to new replies.