Overview
Remove what WordPress loads for nothing: emojis, embeds, jQuery Migrate, extra head tags, XML-RPC and more. Lighter, faster pages in one click.
- Lighter pages
- Fewer requests
- XML-RPC closed
Best for: Every WordPress site
Installation
- Download cleanly-speed-tweaks.zip from My account › My plugins or from your order email. Do not unzip it.
- In WordPress, go to Plugins › Add New Plugin › Upload Plugin, choose the zip and click Install Now, then Activate.
Requires WordPress 6.0+, PHP 7.4+. Works with any theme, block themes and page builders.
Features
- Emoji script and styles removed
- Embed script removed
- jQuery Migrate removed on the front end
- Dashicons only for logged-in users
- XML-RPC and pingback header turned off
- Clean head: generator, shortlink, extra links
- Heartbeat stopped on the front end, revisions limited
Shortcodes
Paste a shortcode in any page, post, widget or page builder text block.
[cleanly_preview]
Options of each shortcode are described in the Features above and in the plugin settings page.
For developers
Customize the plugin from your theme’s functions.php or a small plugin, without editing its files (your changes survive updates).
Filters
cleanly_activecleanly_sanitize
add_filter( 'cleanly_active', function ( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Actions
cleanly_admin_after_formcleanly_admin_before_formcleanly_admin_form_end
Updates
Updates are free. When a new version is out, it appears in Dashboard › Updates of your WordPress site and you can install it in one click, or turn on automatic updates in Plugins. This works for the zip downloaded from your Woo-Plugins account; older copies can be replaced by downloading the latest version from My plugins. See the changelog.
Frequently asked questions
Will emojis still display?
Yes, modern browsers display them natively.
Can a tweak break something?
Each tweak can be turned off. jQuery Migrate is only needed by very old themes and plugins.
Still stuck?
Write to us with your WordPress and WooCommerce versions and what you tried: we answer by email.