Wordpress plugin AJAX links replacement doesn't work

Comments

2 comments

  • Avatar
    Loic Verger Del Bove

    Hi Alexander, 

    Thanks for reaching out.

    This is indeed not supported with the new delivery system introduced in v3 but we will open this in a future version (probably the next one). If you need urgently this, I would recommend downgrading to the 2.7.7 version that you can download here.

    Thanks for your understanding.

    Best,

    Loic

    0
    Comment actions Permalink
  • Avatar
    Loic Verger Del Bove

    Hi Alexander,

    Instead of your code above, would you mind trying this one:

    $cloudinary = Cloudinary\get_plugin_instance();
    $replace = new Cloudinary\String_Replace( $cloudinary );
    $post_id = SOME_LOGIC;

    return $replace->replace_strings( apply_filters( 'the_content', get_post( $post_id )->post_content ) );

    Thanks for letting me know if that works.

    Best,

    Loic

    1
    Comment actions Permalink

Please sign in to leave a comment.