Gorilla Staging Guard 1.0.0 has 0 actions and 14 filters, read directly from its source code on Nov 19, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Change a value Gorilla Staging Guard is about to use
add_filter( 'gorilla_staging_guard_copy_words', function( $keys ) {
// Change $keys here.
return $keys;
}, 10, 1 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Filter the words that mark an address as a copy. Return a list of lower-case * words; each matches as a whole part of a subdomain or folder name (staging, * staging-2, dev1), never inside another word. */ apply_filters( 'gorilla_staging_guard_copy_words', array_keys( self::default_copy_words() ) ); -
/** * Filter the email services a copy may not reach. */ apply_filters( 'gorilla_staging_guard_email_provider_hosts', $hosts ); -
/** * Filter the payment gateways held in test mode on a copy. Each entry is a * label and the options the gateway reads its mode from: option name => [ key * => test-mode value ], with the key '' for a switch stored as a whole option. * Add the filter when your plugin's file loads, or on plugins_loaded; a * gateway that reads its mode before plugins_loaded has finished needs the * filter added when the file l... */ apply_filters( 'gorilla_staging_guard_gateways', self::default_gateways() ); -
/** * Decide whether this site is a copy, overriding the detection. */ apply_filters( 'gorilla_staging_guard_is_copy', null ); -
/** * Filter the hosts a copy may not send requests to, such as the other stores * of a multi-store network. Hosts without www.; never a subdomain match. */ apply_filters( 'gorilla_staging_guard_live_hosts', $hosts ); -
/** * Filter the self-test's results, to add checks for other protections. */ apply_filters( 'gorilla_staging_guard_self_test_checks', $results ); -
/** * Filter the mailers a copy cannot stop. */ apply_filters( 'gorilla_staging_guard_uninterceptable_mailers', $found ); -
action_scheduler_queue_runner_concurrent_batches
filter Used by 122 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_queue_runner_concurrent_batches', 1 ); -
apply_filters( 'pre_get_ready_cron_jobs', null ); -
apply_filters( 'pre_http_request', false, $args, $url ); -
apply_filters( 'pre_wp_mail', null, $probe ); -
woocommerce_subscriptions_is_duplicate_site
filter Used by 3 plugins → Copy link Customise this hookapply_filters( 'woocommerce_subscriptions_is_duplicate_site', false ); -
apply_filters( 'woocommerce_webhook_should_deliver', true, $webhook, 0 ); -
apply_filters( 'wp_sitemaps_enabled', true );
Generated from Gorilla Staging Guard's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: