• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » Remove WordPress wp-embed.min.js & Embed Stuffs

By Abhishek Ghosh May 28, 2016 9:04 am Updated on May 28, 2016

Remove WordPress wp-embed.min.js & Embed Stuffs

Advertisement

Recently WordPress has been updated Version 4.5.2. Suddenly in this summer you noticed that in WordPress front-end, a javascript named wp-embed.min.js is loading. Here is How to Remove WordPress wp-embed.min.js & Embed Stuffs. If you have suddenly, accidentally discovered the wp-embed.min.js, the story is so long that we have a separate article on WordPress Embed and oEmbed.

 

Remove WordPress wp-embed.min.js : Really More Stuffs

 

Many of us who do not know because it is a relatively new promoted system. If you suddenly discovered today, first open your website’s some webpage in a browser, open the “page source”. Opera browser is great tool for these checking works :

Remove WordPress wp-embed-min-js

Cleaning from that source, these are added :

Advertisement

---

Vim
1
2
3
4
5
<link rel='https://api.w.org/' href='https://thecustomizewindows.com/wp-json/' />
<link rel="alternate" type="application/json+oembed" href=".../wp-json/oembed/1.0/embed?url=..%2F" />
<link rel="alternate" type="text/xml+oembed" href="...com/wp-json/oembed/1.0/embed?url=...%2F&#038;format=xml" />
<style type="text/css">.wpcp{background:#f7f7f7;padding:16px
20px;border-radius:5px;line-height:20px}</style>

In order to remove, first you have to read this guide to avoid adding snippets on Theme’s functions.php. That is our older, easy way. For WordPress’s hundreds of new stuffs, we made that easy plugin difficult now, it is factually a WordPress Plugin to add as many types of snippets as possible.

 

Remove WordPress wp-embed.min.js & Embed Stuffs

 

Only for writing this guide, we wrote two other article, which are linked. Otherwise it is not possible to explain.

Vim
1
<link rel='https://api.w.org/' href='https://thecustomizewindows.com/wp-json/' />

Normal users probably do not need these. We are in third decade of life, already has been old human. Obviously I have reserved abhishekghosh.slack.com against abhishekghosh.pro domain but Email is better for us. Anyway, these are four stuffs we need for filtering. Sadly, one of them runs to filter each post header :

Vim
1
2
3
4
5
remove_action( 'wp_head', 'rest_output_link_wp_head', 10 );
remove_action('template_redirect', 'rest_output_link_header', 11, 0);
remove_action( 'wp_head', 'wp_oembed_add_host_js' );
remove_action('rest_api_init', 'wp_oembed_register_route');
remove_filter('oembed_dataparse', 'wp_filter_oembed_result', 10);

That is made a bundle and PHP_INT_MAX added. This is what human currently using and apparently working :

Vim
1
2
3
4
5
6
add_action( 'init', function() {
    remove_action('rest_api_init', 'wp_oembed_register_route');
    remove_filter('oembed_dataparse', 'wp_filter_oembed_result', 10);
    remove_action('wp_head', 'wp_oembed_add_discovery_links');
    remove_action('wp_head', 'wp_oembed_add_host_js');
}, PHP_INT_MAX - 1 );

This plugin is really good as there are so many to exclude :

Vim
1
https://wordpress.org/plugins/disable-embeds

Previously we used WordPress Plugins to extend the functions, it is sad that now we need to use the WordPress Plugins to limit the functions.

Tagged With wp-embed min js , what is a wp-embed min file? , /wp-json/oembed/1 0/embed?url= , wp-embed min js ? , remove wp_embed , remove wordpress embed , remove embeding in wp , inventedc3n , exclude wp-embed js , wp-embed-min
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Remove WordPress wp-embed.min.js & Embed Stuffs

  • Remove Junks From WordPress Header

    Remove RSD Link, RSS Feed, WordPress version, Version of Scripts & All Possible Junks From WordPress Header. Create Own Head & Shoulder Plugin.

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • WordPress & PHP : Different AdSense Units on Mobile Devices

    Here is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.

  • Remove WordPress Post Feed and Post Comment Feed

    Here is How to Remove WordPress Post Feed and Post Comment Feed Via Snippet and Plugins With the Explanation of All Types of Feeds Generated.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

vpsdime

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Cloud-Powered Play: How Streaming Tech is Reshaping Online GamesSeptember 3, 2025
  • How to Use Transcribed Texts for MarketingAugust 14, 2025
  • nRF7002 DK vs ESP32 – A Technical Comparison for Wireless IoT DesignJune 18, 2025
  • Principles of Non-Invasive Blood Glucose Measurement By Near Infrared (NIR)June 11, 2025
  • Continuous Non-Invasive Blood Glucose Measurements: Present Situation (May 2025)May 23, 2025
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2026 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy