Admin Tab Extensibility

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

  1. Register the tab via typost_admin_tabs filter (see PHP Filters)
  2. Render tab content via typost_admin_tab_content_{tab_id} action
  3. Enqueue admin assets via typost_admin_assets action

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.