Site Health API: Transitioning to Silent Alert Mode in WordPress 6.5
0 reputation · 21 Apr 2023, 19:11 UTC
Goal
Reduce notification noise while preserving critical Site Health alerts in a WordPress 6.5 installation.
Constraints & Uncertainty
WordPress’s Site Health tool automatically surfaces security and performance warnings in the Tools > Site Health dashboard and, by default, sends email notifications for critical issues. Plugin‑generated warnings can flood the Admin Notices area, leading to alert fatigue. The Site Health API allows querying status programmatically, but it is unclear whether it supports filtering or silencing non‑critical alerts without disabling the entire module or the email system. Additionally, constants such as WP_DEBUG or custom hooks may influence notification behavior, yet documentation does not specify a standard “silent mode” for the Site Health checks.
Key Questions
- What configuration options exist to suppress non‑critical Site Health alerts while preserving critical ones in WordPress 6.5?
- Is there a programmatic way, via the Site Health API, to filter or silence specific checks without disabling the entire Site Health module?
- Can we set per‑alert notification thresholds or silence specific checks using constants or hooks, and if so, which constants are supported?