WordPress action hook

cache_enabler_clear_page_cache_by_url

Fired by 22 WordPress plugins, running on 287K+ sites between them.

How to use cache_enabler_clear_page_cache_by_url

It's an action: your callback runs at that point and receives 1 argument. Nothing needs to be returned. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_action( 'cache_enabler_clear_page_cache_by_url', function( $url ) {
	// Your code runs here.
}, 10, 1 );

Argument names come from ThinkRank SEO's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

22 plugins that fire cache_enabler_clear_page_cache_by_url

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. Optimole icon Optimole200,000+ installs do_action( 'cache_enabler_clear_page_cache_by_url', $location ) inc/compatibilities/cache_enabler.php:51
  2. WP ULike icon WP ULike60,000+ installs do_action( 'cache_enabler_clear_page_cache_by_url', $reffer_url ) includes/classes/class-wp-ulike-purge-cache.php:395
  3. ThinkRank SEO icon ThinkRank SEO20,000+ installs do_action( 'cache_enabler_clear_page_cache_by_url', $url ) includes/seo/class-cache-purger.php:339
  4. Search Atlas SEO icon Search Atlas SEO6,000+ installs do_action( 'cache_enabler_clear_page_cache_by_url', $url ) includes/class-metasync-cache-purge.php:405
  5. Email Marketing for WordPress and WooCommerce icon Email Marketing for WordPress and WooCommerce600+ installs do_action( 'cache_enabler_clear_page_cache_by_url', $url ) App/Helpers/PurgeCache.php:160
  6. AEO God Mode icon AEO God Mode300+ installs do_action( 'cache_enabler_clear_page_cache_by_url', $url ) includes/class-llms.php:211
  7. Bit Connect icon Bit Connect100+ installs do_action( 'cache_enabler_clear_page_cache_by_url', $url ) backend/app/Services/PageCache.php:328
  8. AcrossAI MCP Manager icon AcrossAI MCP Manager100+ installs do_action( 'cache_enabler_clear_page_cache_by_url', $url ) includes/OAuth/DiscoveryCacheInvalidator.php:251
  9. Product Reviews & Photo Reviews for WooCommerce icon Product Reviews & Photo Reviews for WooCommerce100+ installs do_action( 'cache_enabler_clear_page_cache_by_url', $url ) App/Helpers/PurgeCache.php:172
  10. Berq Used CSS icon Berq Used CSS60+ installs do_action( 'cache_enabler_clear_page_cache_by_url', $url ) inc/class-bqucss-cache-compat.php:87
  11. SEO & AI Readiness Check icon SEO & AI Readiness Check30+ installs do_action( 'cache_enabler_clear_page_cache_by_url', $link ) pruefbericht-seo-quick-check.php:2890
  12. DadsFam SEO icon DadsFam SEO20+ installs do_action( 'cache_enabler_clear_page_cache_by_url', $url ) includes/class-dfseo-brain.php:6347
  13. Cache Watch icon Cache Watch10+ installs do_action( 'cache_enabler_clear_page_cache_by_url', $url ) includes/integrations/class-fcb-cache-watch-plugins.php:211
  14. Geoa icon Geoa10+ installs do_action( 'cache_enabler_clear_page_cache_by_url', $url ) includes/class-geoa-cache-purge.php:280
  15. WAAVE Compliance WP icon WAAVE Compliance WP10+ installs do_action( 'cache_enabler_clear_page_cache_by_url', $url ) includes/class-waave-compliance-cache.php:144
  16. LangRelay icon LangRelayFewer than 10 installs do_action( 'cache_enabler_clear_page_cache_by_url', $url ) includes/class-page-caches.php:440
  17. OptimiseMy.AI Connector icon OptimiseMy.AI ConnectorFewer than 10 installs do_action( 'cache_enabler_clear_page_cache_by_url', $url ) includes/background.php:257
  18. Subscription System icon Subscription SystemFewer than 10 installs do_action( 'cache_enabler_clear_page_cache_by_url', $url ) includes/class-subs-sys-cache-purge.php:326
  19. Langferry icon LangferryFewer than 10 installs do_action( 'cache_enabler_clear_page_cache_by_url', $url ) includes/class-cache-purge.php:113
  20. Portale Funebre Necrologi icon Portale Funebre NecrologiFewer than 10 installs do_action( 'cache_enabler_clear_page_cache_by_url', $url ) inc/seo/monitor.php:382
  21. Amitry Job Board icon Amitry Job BoardFewer than 10 installs do_action( 'cache_enabler_clear_page_cache_by_url', $url ) includes/class-amjobs-cache.php:274
  22. Digispot AI icon Digispot AIFewer than 10 installs do_action( 'cache_enabler_clear_page_cache_by_url', $url ) includes/compat/class-cache-purger.php:467

Need a customisation built on this hook?

Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.