0

Is there a way on current wordpress versions (5.2..), to turn of the automatic embed links(wp-embed.min.js), that will turn an url into an iframe?

I have tried plugins, snippets, functions.php ... it seams that none of them work anymore for wp latest versions.

1

1 Answer 1

0

Have you tried this?

function dequeue_embed_script() {
    wp_dequeue_script('wp-embed');
}

add_action( 'wp_enqueue_scripts', 'dequeue_embed_script', 9999 );
1
  • Thanks for your help, but that wont work two. Commented Apr 28, 2020 at 5:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.