• 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 what is a wp-embed min file? , wp-embed min js , /wp-json/oembed/1 0/embed?url= , exclude wp-embed js , remove embeding in wp , remove wordpress embed , remove wp_embed , wp-embed min js ? , wp-embed-min

This Article Has Been Shared 950 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic 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

  • Taxonomy in WordPress : how to use WordPress Taxomonies effectively

    Taxonomies in Wordpress can be used to arrange, classify and group post. Learn how you can use Taxomomies in Wordpress effectively.

  • Best AdSense Ad Code Injector Plugin For WordPress : Ad Injection

    Best AdSense Ad Code Injector Plugin For WordPress currently available is Ad Injector. This plugin can help for logical category wise custom ad unit injection.

  • List of Open Source PHP MySQL Based Blogging Softwares

    List of Open Source PHP MySQL Based Blogging Softwares lists the most commonly used and available softwares those can run on any LAMP server easily.

  • YouTube Tips : Embed Playlist, YouTube’s audio, YouTube HTML5 Player

    Here are YouTube Tips to Embed YouTube Playlist, YouTube’s audio, YouTube HTML5 Player in any webpage or WordPress page or posts. Let us see how we can do them.

  • TechArticle schema : Implementing in WordPress

    TechArticle schema is a specification described under Article, which is under CreativeWork, which is under Thing. Here is how to implement TechArticle schema.

Additionally, 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

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

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

Search this website…

 

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 (21K Followers)
  • Twitter (5.3k 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

  • What is Standard Software February 28, 2021
  • WordPress Link to text Fragment February 27, 2021
  • How to Protect IP Cameras From Hackers February 25, 2021
  • 6 Sectors That Have Undergone Revamps in Digital Landscape February 24, 2021
  • What You Can Control with a Smartwatch and ESP32 February 23, 2021

 

About This Article

Cite this article as: Abhishek Ghosh, "Remove WordPress wp-embed.min.js & Embed Stuffs," in The Customize Windows, May 28, 2016, March 1, 2021, https://thecustomizewindows.com/2016/05/remove-wordpress-wp-embed-min-js-embed-stuffs/.

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

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

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