admin管理员组文章数量:1384375
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.
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.
Share Improve this question asked Apr 24, 2020 at 8:37 Fernando SouzaFernando Souza 1512 silver badges11 bronze badges 1- are you using the Block Editor(Gutenberg) or WordPress default Editor? – 西門 正 Code Guy - JingCodeGuy Commented Apr 24, 2020 at 10:17
1 Answer
Reset to default 0Have you tried this?
function dequeue_embed_script() {
wp_dequeue_script('wp-embed');
}
add_action( 'wp_enqueue_scripts', 'dequeue_embed_script', 9999 );
本文标签: Disable automatic embed links
版权声明:本文标题:Disable automatic embed links 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744535778a2611305.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论