Deregister/Remove wp-embed.min.js from WordPress
WP Embed in WordPress functionality is to embed a video or another object into a single post or page, and place its URL into the content area in the working area.
Sometimes wp-embed is not needed when you dont want to use embed functionality in all pages or posts
To disable wp-embed copy and paste the following code snippet into functions.php of the theme
function my_deregister_scripts(){ if (!is_admin()) { wp_deregister_script('wp-embed'); } } add_action( 'wp_footer', 'my_deregister_scripts' );dequeue,wordpress
Comments for this post