Overview
WP-Optimize describes itself as: “Get caching and more with this powerful cache plugin. Cache, optimize images, clean your database and minify for maximum performance.”
It is active on 1+ million WordPress sites and rated 4.8 out of 5 by 2,617 users on WordPress.org. Developers can extend it through 50 actions and 151 filters, listed below.
How to install WP-Optimize
- Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
- Search for it. Type “WP-Optimize” and pick the one by David Anderson / Team Updraft.
- Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI
Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:
wp plugin install wp-optimize --activateRequirements: WordPress 4.9+ · PHP 7.2+ · tested up to WordPress 7.1.4
Hooks & customisation
WP-Optimize 4.7.1 fires 50 actions and 151 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.
// Fires after purging the cache
do_action( 'wpo_cache_flush' );
// Filter whether to display the html comment
apply_filters( 'wpo_cache_show_cached_by_comment', true );
// Filters the mapped domain name
apply_filters( 'wpo_get_mapped_domain', $domain, $blog_id );
// Filters if Multisite Domain mapping is enabled. Currently, we can only detect…
apply_filters( 'wpo_is_domain_mapping_enabled', $enabled );
// Filters the array of stylesheets before processing them
apply_filters( 'wpo_minify_stylesheets', $header, 'header' );
// Filters the commands allowed to the sub site admins. Other commands are only a…
apply_filters( 'wpo_multisite_allowed_commands', … );Need WP-Optimize customised?
Tell us what you want changed, added or fixed and we'll reply with an estimate.
WP EXPERTS is independent and not affiliated with David Anderson / Team Updraft. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 17, 2026.