WordPress action hook

rocket_clean_domain

Fired by 5 WordPress plugins, running on 6,800+ sites between them.

How to use rocket_clean_domain

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

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

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

5 plugins that fire rocket_clean_domain

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

  1. Search Atlas SEO icon Search Atlas SEO6,000+ installs do_action( 'rocket_clean_domain' ) includes/class-metasync-cache-purge.php:566
  2. Glow: maintenance & support management for agencies icon Glow: maintenance & support management for agencies800+ installs do_action( 'rocket_clean_domain' ) includes/class-glow-worker-wordpress.php:2162
  3. Captura icon CapturaFewer than 10 installs do_action( 'rocket_clean_domain' ) src/API/AjaxHandlers.php:189
  4. MasVirtual Lead Tracking icon MasVirtual Lead TrackingFewer than 10 installs do_action( 'rocket_clean_domain' ) includes/conversiones/class-feed.php:596
  5. WOGO Chat Flutuante icon WOGO Chat FlutuanteFewer than 10 installs do_action( 'rocket_clean_domain' ) wogo-chat-flutuante.php:111

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.