WordPress action hook
cache_enabler_clear_page_cache_by_post
Fired by 27 WordPress plugins, running on 151K+ sites between them.
How to use cache_enabler_clear_page_cache_by_post
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:
add_action( 'cache_enabler_clear_page_cache_by_post', function( $post_id ) {
// Your code runs here.
}, 10, 1 );Argument names come from SureCart's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
27 plugins that fire cache_enabler_clear_page_cache_by_post
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
SureCart70,000+ installs
do_action( 'cache_enabler_clear_page_cache_by_post', $post_id )app/src/WordPress/Cache/CacheEnablerCacheService.php:45 -
WP ULike60,000+ installs
do_action( 'cache_enabler_clear_page_cache_by_post', $post_id )includes/classes/class-wp-ulike-purge-cache.php:390 -
Secure MCP Server for Claude, ChatGPT, Gemini, Cursor and other AI Agents10,000+ installs
do_action( 'cache_enabler_clear_page_cache_by_post', $id )libraries/abilities/src/support/class-cache-purger.php:684 -
Themify Builder6,000+ installs
do_action( 'cache_enabler_clear_page_cache_by_post', $post_id )themify/cache/class-themify-cache.php:914 -
Display Eventbrite Events2,000+ installs
do_action( 'cache_enabler_clear_page_cache_by_post', $post_id )includes/class-utilities.php:234 -
LinkBoss2,000+ installs
do_action( 'cache_enabler_clear_page_cache_by_post', $post_id )includes/Classes/class-update-posts.php:261 -
RankReady600+ installs
do_action( 'cache_enabler_clear_page_cache_by_post', $post_id )includes/class-rnrd-cache.php:596 -
MEGA AI200+ installs
do_action( 'cache_enabler_clear_page_cache_by_post', $post_id )page-cache-purge.php:136 -
AlphaBridge MCP100+ installs
do_action( 'cache_enabler_clear_page_cache_by_post', $id )includes/class-page-cache.php:213 -
Rectus Content Access for MCP30+ installs
do_action( 'cache_enabler_clear_page_cache_by_post', $post_id )includes/cache-purge.php:105 -
SEO & AI Readiness Check30+ installs
do_action( 'cache_enabler_clear_page_cache_by_post', $post_id )pruefbericht-seo-quick-check.php:760 -
DadsFam SEO20+ installs
do_action( 'cache_enabler_clear_page_cache_by_post', $id )includes/class-dfseo-brain.php:6339 -
Gulo Link-in-Bio10+ installs
do_action( 'cache_enabler_clear_page_cache_by_post', $page_id )includes/class-guloli-admin.php:577 -
Cache Watch10+ installs
do_action( 'cache_enabler_clear_page_cache_by_post', $id )includes/integrations/class-fcb-cache-watch-plugins.php:208 -
MyClub Groups10+ installs
do_action( 'cache_enabler_clear_page_cache_by_post', $post_id )lib/myclub/common-lib/src/BaseUtils.php:89 -
TSO Link Inspector10+ installs
do_action( 'cache_enabler_clear_page_cache_by_post', $post_id )includes/class-tso-lc-scanner.php:7572 -
BahriCanli Publisher10+ installs
do_action( 'cache_enabler_clear_page_cache_by_post', $post_id )bahricanli-publisher.php:160 -
Sidcraft Page Builder w/ AI MCPFewer than 10 installs
do_action( 'cache_enabler_clear_page_cache_by_post', $post_id )includes/compatibility/class-cache.php:87 -
RATAFewer than 10 installs
do_action( 'cache_enabler_clear_page_cache_by_post', $post_id )includes/class-rata-tts-generator.php:1174 -
MyClub BookingFewer than 10 installs
do_action( 'cache_enabler_clear_page_cache_by_post', $post_id )lib/myclub/common-lib/src/BaseUtils.php:89 -
WeDispatch Audio Text to SpeechFewer than 10 installs
do_action( 'cache_enabler_clear_page_cache_by_post', $post_id )inc/cache.php:104 -
LinkRevive AIFewer than 10 installs
do_action( 'cache_enabler_clear_page_cache_by_post', $id )src/Fix/CachePurge.php:167 -
WPInterface Product Reviews for WooCommerceFewer than 10 installs
do_action( 'cache_enabler_clear_page_cache_by_post', $id )src/Core/PageCache.php:45 -
Krystian Gacek Image Format ConverterFewer than 10 installs
do_action( 'cache_enabler_clear_page_cache_by_post', $post_id )src/Compatibility/CachePurger.php:49 -
Digispot AIFewer than 10 installs
do_action( 'cache_enabler_clear_page_cache_by_post', $id )includes/compat/class-cache-purger.php:466 -
RapidWombat IntegrationFewer than 10 installs
do_action( 'cache_enabler_clear_page_cache_by_post', $post_id )includes/cache.php:104 -
MyClub SectionsFewer than 10 installs
do_action( 'cache_enabler_clear_page_cache_by_post', $post_id )lib/myclub/common-lib/src/BaseUtils.php:89
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.