Hooks
All hooks use the themeatos_planwise_ prefix. Text domain for UI strings: planwise.
Actions
| Hook |
Description |
themeatos_planwise_loaded |
Fired after Planwise finishes bootstrapping. |
themeatos_planwise_hub_registered |
After the product registers with Themeatos Hub. |
themeatos_planwise_hub_settings_cards |
Add extra Hub settings cards. Passes $settings. |
themeatos_planwise_activity_recorded |
After an activity CPT row is stored. |
themeatos_planwise_task_commented |
After a task comment is created. |
themeatos_planwise_notification_created |
After an in-app notification is stored. |
themeatos_planwise_notification_dispatched |
After a notification event is dispatched. |
themeatos_planwise_web_push_subscribed |
User subscribed to web push. |
themeatos_planwise_web_push_unsubscribed |
User unsubscribed from web push. |
themeatos_planwise_telegram_notified |
After a Telegram project notification attempt. |
themeatos_planwise_two_factor_updated |
User two-factor preference changed. |
themeatos_planwise_notify |
Programmatic notify entry ($event_type, $user_id, $context). |
Filters (settings & AI)
| Hook |
Description |
themeatos_planwise_settings_defaults |
Default settings array. |
themeatos_planwise_settings_schema |
Hub settings schema. |
themeatos_planwise_settings_sanitized |
After settings sanitization. |
themeatos_planwise_ai_provider_choices |
Provider choice list. |
themeatos_planwise_custom_llm_model_types |
Custom LLM model type labels. |
themeatos_planwise_integrations |
Integration definitions registered with Hub. |
themeatos_planwise_integration_catalog |
In-app integration catalog cards. |
Filters (routing & UI)
| Hook |
Description |
themeatos_planwise_app_pages |
Allowed app page slugs. |
themeatos_planwise_app_page_partials |
Map of page → template partial. |
themeatos_planwise_navigation |
Sidebar navigation groups. |
themeatos_planwise_profile_menu_items |
Profile dropdown items. |
themeatos_planwise_mobile_nav_action |
Mobile nav primary action. |
themeatos_planwise_keyboard_shortcuts |
Shortcut definitions. |
themeatos_planwise_page_titles |
App page titles. |
themeatos_planwise_hide_admin_bar |
Force-hide WP admin bar on the front. |
Filters (auth & branding)
| Hook |
Description |
themeatos_planwise_required_capability |
Capability for app access. |
themeatos_planwise_rest_auth_enabled |
Whether REST login is enabled. |
themeatos_planwise_login_allowed |
Per-user login gate. |
themeatos_planwise_login_user |
Alter authenticated user object. |
themeatos_planwise_login_response |
Alter login REST payload. |
themeatos_planwise_app_access_allowed |
Gate app shell access. |
themeatos_planwise_site_name |
Branding site name. |
themeatos_planwise_logo_url |
Logo URL. |
themeatos_planwise_font_family |
Font family slug. |
Filters (notifications & PWA)
| Hook |
Description |
themeatos_planwise_notification_channels |
Channel definitions. |
themeatos_planwise_notification_event_types |
Event type list. |
themeatos_planwise_notification_event_enabled |
Per-event / channel enable. |
themeatos_planwise_notification_payload |
Alter notification payload. |
themeatos_planwise_notification_templates |
Message templates. |
themeatos_planwise_web_manifest |
Web app manifest array. |
themeatos_planwise_pwa_enabled |
PWA on/off. |
themeatos_planwise_telegram_message |
Alter Telegram message body. |
Example
add_filter(
'themeatos_planwise_navigation',
static function ( array $groups ): array {
// Adjust sidebar groups.
return $groups;
}
);