- What does the
wp-embed.min.jsfile do? I noticed it is added to the end of my blog page footer.
- How can I get rid of it?
After some googling and I found Embeds on the Codex. Why does WordPress think I want to add videos, etc. to my page by default?
What is it?
It is responsible for converting links into embed frames.
For example you can paste a Youtube video link into the editor content section and the Youtube embed will be generated for you when your page is viewed.
More information on WordPress Documentation
How to get rid of it?
I could finally get rid of that using this:
wp_deregister_script( 'wp-embed' );
add_action( 'wp_footer', 'my_deregister_scripts' );