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' );

Comments (0)

Leave a Reply

Your email address will not be published. Required fields are marked *