WordPress action hook
rt_nginx_helper_purge_url
Fired by 14 WordPress plugins, running on 221K+ sites between them.
“Filters the URL to be purged.”
How to use rt_nginx_helper_purge_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:
add_filter( 'rt_nginx_helper_purge_url', function( $url ) {
// Change $url here.
return $url;
}, 10, 1 );Argument names come from Nginx Helper's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
14 plugins that fire rt_nginx_helper_purge_url
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Nginx Helper200,000+ installs
apply_filters( 'rt_nginx_helper_purge_url', $url )admin/class-fastcgi-purger.php:38 -
Bit Form10,000+ installs
do_action( 'rt_nginx_helper_purge_url', $url )backend/app/Helpers/CacheCompat.php:337 -
ReviewX6,000+ installs
do_action( 'rt_nginx_helper_purge_url', $url )app/Cache/Purger.php:70 -
BerqWP4,000+ installs
do_action( 'rt_nginx_helper_purge_url', home_url($slug) )inc/thirdparty/plugin/NginxHelper.php:28 -
RankReady600+ installs
do_action( 'rt_nginx_helper_purge_url', $url )includes/class-rnrd-cache.php:574 -
AEO God Mode300+ installs
do_action( 'rt_nginx_helper_purge_url', $url )includes/class-llms.php:212 -
AcrossAI MCP Manager100+ installs
do_action( 'rt_nginx_helper_purge_url', $url )includes/OAuth/DiscoveryCacheInvalidator.php:233 -
Berq Used CSS70+ installs
do_action( 'rt_nginx_helper_purge_url', $url )inc/class-bqucss-cache-compat.php:67 -
Code Unloader30+ installs
do_action( 'rt_nginx_helper_purge_url', $url )src/Core/CachePurger.php:91 -
AljiSitemapFewer than 10 installs
do_action( 'rt_nginx_helper_purge_url', $url )includes/class-aljisitemap-cache.php:137 -
AuditySEO Canonical ManagerFewer than 10 installs
do_action( 'rt_nginx_helper_purge_url', $url )includes/class-audityseo-canonical-manager-cache-purger.php:48 -
StyleRaiseFewer than 10 installs
do_action( 'rt_nginx_helper_purge_url', $url )includes/cache/class-purger.php:215 -
AKantio CacheFewer than 10 installs
do_action( 'rt_nginx_helper_purge_url', $url )src/Infrastructure/Integrations/HostCachePurger.php:34 -
SOHO SEOFewer than 10 installs
do_action( 'rt_nginx_helper_purge_url', $url )includes/class-dso-sitemap-cache.php:137 -
LMS-Advisor AI Powered CacheFewer than 10 installs
do_action( 'rt_nginx_helper_purge_url', $url )includes/class-lmsa-cache-integrations.php:516
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.