The SEO Framework

★︎ My account
  • Extensions
  • Documentation
  • Pricing
  1. Home
  2. Documentation
  3. Plugin API

Plugin API Documentation

We advise against using the API unless you fully understand what the code does and implies and if you’re willing to check up on changes every major release. Use the options instead, or submit a feature request if you can’t find what you need.

The SEO Framework

The SEO Framework (TSF) is extensible, interpretable, and adjustable.

PHP API

The main facade object, accessible via tsf()*, can be accessed on or after actions the_seo_framework_admin_loaded and the_seo_framework_loaded. Those actions invoke on WordPress’s action plugins_loaded priority 5. You should never call the tsf() object before those actions.

* Before TSF v4.2.0, only tsf()‘s alias the_seo_framework() is available.

You can find examples on how to utilize this object at our filter reference guide. Our API resources are:

  • Constants
  • Filters
  • Actions

JS API

The JavaScript code brought with TSF does not have public API documentation because we have never received implementation requests. Please refer to the code, which is fully documented.

The Extension Manager

The Extension Manager is the epitome of extending TSF. It is why we must keep TSF’s API vast, open, and reliable.

PHP API

  • Constants

In the Extension Manager, the filters are used for debugging, and the actions are implemented for internal purposes only.

JS API

The JavaScript code delivered by the Extension Manager does not provide an API available to third parties.

Extension API

Some extensions in the Extension Manager have specific API functionality.

  • AMP API
  • Articles API
  • Cord API
  • Focus API
  • Honeypot API

Looking for something?

Do more with extensions

Articles

View extension
Google News and structured data.

Honeypot

View extension
Super-lightweight hyper-effective anti-spam.

Get Extension Manager

Commercial

The SEO Framework
Trademark of CyberWire B.V.
Leidse Schouw 2
2408 AE Alphen a/d Rijn
The Netherlands
KvK: 83230076
BTW/VAT: NL862781322B01

Twitter  GitHub

Professional

Pricing
About
Support
Press

Rational

Blog
Privacy Policy
Terms and Conditions
Refund Policy

Practical

Documentation
TSF on WordPress
TSF on GitHub
TSFEM on here
TSFEM on GitHub
Feature Highlights

Amazing support in 2025 › The SEO Framework