[How To] Disable Loading ‘wp-embed.min.js’
You can use the following code snippet to prevent wp-embed.min.js;
function wpassist_dequeue_scripts(){ wp_deregister_script('wp-embed'); } add_action( 'wp_enqueue_scripts', 'wpassist_dequeue_scripts' );
You can use the following code snippet to prevent wp-embed.min.js;
function wpassist_dequeue_scripts(){ wp_deregister_script('wp-embed'); } add_action( 'wp_enqueue_scripts', 'wpassist_dequeue_scripts' );