The main WordPress hooks that Rank Forge registers for the page head, post saves and redirects, plus a few others. It is not a complete list: Rank Forge registers more, for example AJAX handlers, the term edit fields and the sitemap rewrite rules on init. The hooks of the Pro add-on classes RANKFORGE_AB_Testing and RANKFORGE_Auto_Links are registered only when the license allows ab_testing and auto_links.
Actions (wp_head)
| Priority | Class | Method | Output |
|---|---|---|---|
| 0 | RANKFORGE_AB_Testing | maybe_swap_meta | Title/description override for variant B |
| 1 | RANKFORGE_Meta_Generator | output_meta_tags | Meta tags: title, description, OG, Twitter |
| 5 | RANKFORGE_Schema | output_schema | Primary JSON-LD schema |
| 6 | RANKFORGE_Local_Seo | output_local_schema | LocalBusiness JSON-LD |
| 6 | RANKFORGE_Video_Seo | output_video_schema | VideoObject JSON-LD |
Actions (save_post)
| Priority | Class | Method | Description |
|---|---|---|---|
| 10 | RANKFORGE_Schema | invalidate_ai_schema_cache | Clears AI schema cache |
| 18 | RANKFORGE_Video_Seo | auto_detect_videos | Scans for video embeds |
| 20 | RANKFORGE_Analyzer | auto_analyze | Saves meta + runs analysis |
| 20 | RANKFORGE_AB_Testing | save_meta_box | Saves A/B test fields |
| 99 | RANKFORGE_Sitemap | invalidate_cache | Clears sitemap cache |
Actions (template_redirect)
| Priority | Class | Method | Description |
|---|---|---|---|
| 1 | RANKFORGE_Redirects | handle_redirect | Executes matching redirects |
| 99 | RANKFORGE_Redirects | track_404 | Logs 404 URLs |
Other Hooks
| Hook | Class | Description |
|---|---|---|
transition_post_status | RANKFORGE_Auto_Links | Auto-link when a post or page moves to publish from another status |
post_updated | RANKFORGE_Redirects | Creates a 301 redirect when a published post’s slug changes |
wp_robots (filter) | RANKFORGE_Robots_Meta | filter_wp_robots adds the robots directives to the single robots tag that WordPress prints; Rank Forge does not print a robots tag of its own |
add_attachment | RANKFORGE_Image_Seo | Auto alt text on upload |
wp_dashboard_setup | RANKFORGE_Dashboard | SEO Overview widget |
rest_api_init | RANKFORGE_Rest_Api | Register REST routes |
| competitor frontend hooks | RANKFORGE_Competitor_Coexistence | Suppresses common duplicate frontend metadata from Yoast description, robots, Open Graph, and Twitter presenters, plus the output of All in One SEO and SEOPress, and the Rank Math canonical tag when the post has a custom canonical set in Rank Forge, while Rank Forge is active; Yoast title output stays available so themes that rely on it still get a <title> tag using Rank Forge’s resolved title |
—