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, obtained via the_seo_framework()
, can be accessed on or after actions the_seo_framework_admin_loaded
and the_seo_framework_loaded
. They run on action plugins_loaded
, at priority 5
. You should never call the object before those actions.
You can find examples on how to utilize this at our filter reference.
JS API
The JavaScript code delivered with TSF does not have public API documentation because we haven’t received implementation requests. Please refer to the code.
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
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 meant for third-parties.
Extension API
Some extensions in the Extension Manager have specific API functionality.