Guru Site Health Score, Audit & One-Click Fixes 1.0.9 has 3 actions and 7 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.
// Run your own code when Guru Site Health Score, Audit & One-Click Fixes fires an action
add_action( 'bwg_site_health/fix_applied', function( $findingId, $previous ) {
// Your code runs here.
}, 10, 2 );
// Change a value Guru Site Health Score, Audit & One-Click Fixes is about to use
add_filter( 'bwg_site_health/deactivation_survey', function( $value ) {
// Change $value here.
return $value;
}, 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
-
/** * Lets a site owner or a host switch the survey off outright. */ apply_filters( 'bwg_site_health/deactivation_survey', true ); -
/** * Where deactivation feedback is sent. */ apply_filters( 'bwg_site_health/feedback_url', self::FEEDBACK_URL ); -
/** * Fires after a fix has been applied and recorded. */ do_action( 'bwg_site_health/fix_applied', $findingId, $previous ); -
/** * Fires after a fix has been undone. */ do_action( 'bwg_site_health/fix_reverted', $findingId ); -
/** * Lets a site owner remove a fix they do not want offered at all. */ apply_filters( 'bwg_site_health/fixes', $fixes ); -
/** * Modules self-register here. Each core/adapter-backed module appends itself * to this array. Keeping registration in a filter makes modules independently * loadable and lets Pro add-ons contribute modules without touching core. */ apply_filters( 'bwg_site_health/modules', [] ); -
/** * Fires after a scan is persisted. Consumers: notifications, cloud sync (Pro), * report scheduling. Keeps the engine decoupled. */ do_action( 'bwg_site_health/scan_completed', $scan ); -
/** * Lets any other sitemap-providing plugin declare itself, so this fix stays * out of its way without needing a release here. */ apply_filters( 'bwg_site_health/sitemap_owned_by_plugin', false ); -
apply_filters( 'wp_sitemaps_enabled', true ); -
apply_filters( 'xmlrpc_enabled', true );
Generated from Guru Site Health Score, Audit & One-Click Fixes'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: