WordPress Plugins
Free Tools
Claude Skills
Resources
Pricing Agencies Support My Account Cart
Support / ForgeCache / Remove Unused Features

Remove Unused WordPress Features

WordPress adds a few scripts, styles and links to every page that many sites never use. ForgeCache has six switches that remove them: the emoji script, embeds of your posts, Dashicons for visitors, jQuery Migrate, XML-RPC and the RSS feed links. This page explains what each one removes, what keeps working, and when to leave it off.

Using Jetpack or the WordPress mobile app? Leave XML-RPC on

Turning off XML-RPC breaks the Jetpack connection and the WordPress mobile app’s connection to your site, because both talk to WordPress through XML-RPC. Any other app or service that posts to your site through xmlrpc.php stops working too.

Where the switches are

Go to ForgeCache → Settings → Optimization and scroll to Remove unused WordPress features. Tick a switch and click Save Changes.

Turn on one switch at a time and check a few pages after each, so you know which one to undo if something looks wrong.

Emoji script

Removes: the small script and style WordPress loads on every page, and in the admin, to draw emoji on very old browsers. It also removes the emoji lookup hint in the page head, the classic editor’s emoji plugin, and the emoji images WordPress puts into feeds and emails.

Keeps working: emoji themselves. Phones and computers draw them on their own.

Leave it off if: your visitors use browsers too old to show emoji, and emoji matter to your content.

Embeds of this site

Removes: the preview cards other sites (and your own posts) show when they embed one of your posts: the embed script, the discovery links in the page head, the public address other sites use to fetch the card, and the /embed/ view of each post.

Keeps working: embedding YouTube, social posts and other outside content in your own posts.

Changes: a WordPress post embedded in one of your posts (one of your own, or one from another WordPress site) shows as a plain link instead of a card.

Leave it off if: you want other sites to show preview cards of your posts, or you embed WordPress posts in your own posts.

Dashicons for visitors

Removes: the Dashicons icon font for visitors who are not logged in. Some themes and plugins load it for every visitor even when no icon is shown.

Keeps working: logged-in users, the admin bar, the admin, the login page and the Customizer preview keep Dashicons. It also stays when your theme or a plugin stylesheet lists it as something it needs.

Leave it off if: icons go missing on your pages after you switch it on. Your theme uses them, so switch it off again. Check while logged out (or in a private window), because logged-in visits always keep the icons.

jQuery Migrate

Removes: jQuery Migrate on the front end. It is a helper script that keeps very old jQuery code working; up-to-date themes and plugins don’t need it.

Keeps working: the admin and the Customizer preview keep jQuery Migrate. jQuery itself still loads.

Leave it off if: a slider, menu, popup or form stops working after you switch it on. An older theme or plugin needs it, so switch it off again.

XML-RPC

Removes: XML-RPC, an older way for apps and other sites to talk to WordPress. Every request to xmlrpc.php is refused, so no login attempt, pingback or other call gets through. The links and the X-Pingback header that point to it are removed too.

Keeps working: comments and trackbacks, and the block editor and REST API, which don’t use XML-RPC.

Breaks Jetpack and the WordPress mobile app

Leave this switch off if you use Jetpack or the WordPress mobile app: both need XML-RPC to connect to your site. The same goes for any desktop blogging app or service that publishes through xmlrpc.php.

Summary

SwitchWho it affectsDon’t turn it on if
Emoji scriptEveryone, front end and adminVisitors use very old browsers
Embeds of this siteEveryoneYou want preview cards of your posts elsewhere
Dashicons for visitorsLogged-out visitors onlyYour theme shows Dashicons to visitors
jQuery MigrateFront end onlyAn older theme or plugin needs it
XML-RPCApps and services using xmlrpc.phpYou use Jetpack or the WordPress mobile app
RSS feed linksPage head only; feeds keep workingYou want feeds found automatically
Related