This page is generated from HOOKS.md in the Typography Stylist source. Edit it there — edits made here are kept, but they stop this page from being updated until the conflict is resolved.
Adding a Tab
- Register the tab via
typost_admin_tabsfilter (see PHP Filters) - Render tab content via
typost_admin_tab_content_{tab_id}action - Enqueue admin assets via
typost_admin_assetsaction
URL-Based Tab Selection
Tabs support deep-linking: ?page=typography-stylist&tab=my-tab. The tab ID in the URL query parameter matches the id in your tab registration.
Tab Switching
The admin page’s JavaScript automatically handles tab switching for all registered tabs — no additional JS is needed for tab navigation.