Complete reference of every WordPress action hook that SEO Forge registers.
Actions (wp_head)
| Priority | Class | Method | Output |
|---|---|---|---|
| 0 | SEOFORGE_AB_Testing | maybe_swap_meta | Title/description override for variant B |
| 1 | SEOFORGE_Meta_Generator | output_meta_tags | Meta tags: title, description, OG, Twitter |
| 2 | SEOFORGE_Robots_Meta | output_robots_meta | directive |
| 5 | SEOFORGE_Schema | output_schema | Primary JSON-LD schema |
| 6 | SEOFORGE_Local_Seo | output_local_schema | LocalBusiness JSON-LD |
| 6 | SEOFORGE_Video_Seo | output_video_schema | VideoObject JSON-LD |
Actions (save_post)
| Priority | Class | Method | Description |
|---|---|---|---|
| 10 | SEOFORGE_Schema | invalidate_ai_schema_cache | Clears AI schema cache |
| 18 | SEOFORGE_Video_Seo | auto_detect_videos | Scans for video embeds |
| 20 | SEOFORGE_Analyzer | auto_analyze | Saves meta + runs analysis |
| 20 | SEOFORGE_AB_Testing | save_meta_box | Saves A/B test fields |
| 99 | SEOFORGE_Sitemap | invalidate_cache | Clears sitemap cache |
Actions (template_redirect)
| Priority | Class | Method | Description |
|---|---|---|---|
| 1 | SEOFORGE_Redirects | handle_redirect | Executes matching redirects |
| 99 | SEOFORGE_Redirects | track_404 | Logs 404 URLs |
Other Hooks
| Hook | Class | Description |
|---|---|---|
transition_post_status | SEOFORGE_Auto_Links | Auto-link on first publish |
transition_post_status | SEOFORGE_Sitemap | Ping Google on publish |
post_updated | SEOFORGE_Redirects | Auto-redirect on slug change |
add_attachment | SEOFORGE_Image_Seo | Auto alt text on upload |
wp_dashboard_setup | SEOFORGE_Dashboard | SEO Overview widget |
rest_api_init | SEOFORGE_Rest_Api | Register REST routes |
| competitor frontend hooks | SEOFORGE_Competitor_Coexistence | Suppresses common duplicate frontend metadata from Yoast description, robots, Open Graph, and Twitter presenters, plus All in One SEO, SEOPress, and Rank Math output while SEO Forge is active; Yoast title output stays available so themes that rely on it still get a tag using SEO Forge’s resolved title |
—