System Warning
The System_Warning class provides a monitoring dashboard in the WordPress admin. It aggregates health checks and alerts from various Terra framework tools into a single overview panel.
Key Features
Section titled โKey Featuresโ- Admin dashboard widget: Shows system health at a glance
- URL health checks: Validates internal and external links
- Performance monitoring: Integrates with Lighthouse scores
- Email alerts: Sends notifications when issues are detected
- Google Search Console: Surfaces GSC data in the admin
What It Monitors
Section titled โWhat It Monitorsโ| Check | Source Class | Description |
|---|---|---|
| URL health | Terra_URL_Health_Check | Scans pages for broken links |
| Performance | TerraLighthouse | Tracks Lighthouse scores over time |
| Search Console | Google_Search_Console | Surfaces indexing and crawl issues |
| Grammar | Grammar | Flags spelling/grammar issues (optional) |
The System Warning is instantiated automatically in the frameworkโs default() method. It appears as a panel in the Terra Dashboard admin page.
No project-level configuration is typically needed โ the dashboard automatically aggregates data from whichever monitoring modules are active for the project.
Knowledge Check
Test your understanding of this section
Loading questions...