Hooks and Filters
Every filter and action BuddyWoo exposes. Several legacy names are historically inconsistent (alter_bpwoo_* next to alter_buddywoo_*); they are kept verbatim and fire from the tab registry with the same values they always carried.
Tab registry
Section titled “Tab registry”| Filter | Receives | Purpose |
|---|---|---|
buddywoo_tabs |
Array of tab definitions keyed by id | Add or alter tabs (option keys, defaults, legacy filter names, screen) |
Per-tab legacy filters
Section titled “Per-tab legacy filters”For each tab the registry applies an enabled, label, slug, and position filter. The tab ids are shop, orders, order-tracking, addresses, downloads, reviews.
Enabled
Section titled “Enabled”Boolean. Because of the historic inversion, true means the tab is shown.
alter_buddywoo_is_hide_shop_tab, alter_buddywoo_is_hide_order_tab, alter_buddywoo_is_hide_order_tracking_tab, alter_buddywoo_is_hide_address_tab, alter_buddywoo_is_hide_downloads_tab, alter_buddywoo_is_hide_my_reviews_tab
alter_buddywoo_shop_tab_label, alter_buddywoo_order_tab_label, alter_buddywoo_order_tracking_tab_label, alter_buddywoo_address_tab_label, alter_buddywoo_downloads_tab_label, alter_buddywoo_my_reviews_tab_label
alter_buddywoo_shop_tab_slug, alter_buddywoo_order_tab_slug, alter_buddywoo_order_tracking_tab_slug, alter_buddywoo_address_tab_slug, alter_buddywoo_downloads_tab_slug, alter_buddywoo_my_reviews_tab_slug
Position
Section titled “Position”alter_buddywoo_shop_tab_position (int), alter_buddywoo_order_tab_position, alter_bpwoo_order_track_tab_position, alter_bpwoo_address_tab_position, alter_bpwoo_downloads_tab_position, alter_buddywoo_my_reviews_tab_position
Activity
Section titled “Activity”| Filter | Purpose |
|---|---|
alter_buddywoo_is_disable_new_product_activity |
Boolean; true means new-product activity is logged (historic inversion) |
alter_buddywoo_is_disable_review_activity |
Boolean; true means review activity is logged (historic inversion) |
buddywoo_product_activity_action |
Action-string template for an approved-review activity item |
URLs, templates, and assets
Section titled “URLs, templates, and assets”| Filter | Receives | Purpose |
|---|---|---|
buddywoo_member_shop_url |
url, user_id, sub_slug | The final member Shop or sub-tab URL |
buddywoo_get_template |
path, name, args | The resolved template path |
buddywoo_load_public_assets |
bool | Force-load the public CSS on a request |
buddywoo_products_shortcode |
shortcode string | The catalog shortcode rendered on the Products surface |
Namespace buddywoo/v1. See REST API for the endpoints.
| Filter | Purpose |
|---|---|
buddywoo_rest_app_config |
The GET /config payload |
buddywoo_rest_prepare_order |
Each item in GET /me/orders |
buddywoo_rest_prepare_download |
Each item in GET /me/downloads |
buddywoo_rest_prepare_review |
Each item in GET /me/reviews |
Admin (shared settings shell)
Section titled “Admin (shared settings shell)”| Hook | Type | Purpose |
|---|---|---|
buddywoo_settings_nav_groups |
Filter | Declare settings nav entries |
buddywoo_settings_tab_content |
Action | Render one settings tab body |
Legacy wrapper functions
Section titled “Legacy wrapper functions”includes/buddywoo-general-functions.php keeps a family of back-compat wrappers over the registry: buddywoo_is_hide_{tab}_tab(), buddywoo_{tab}_tab_label(), _slug(), and _position(). They preserve the historic “is_hide === true means shown” semantics. New code should call Buddywoo_Tabs directly.

