Product documentation

Hooks and filters

Pro 1.4.3

These are selected Pro extension points present in the 1.4.3 source. Check the installed version’s function signature before using one: filters can gain arguments, and a disabled feature may never run its hook.

Hook Purpose
hpb2b_bulk_order_endpoint_slug Change the default bulk-order My Account endpoint slug.
hpb2b_bulk_order_user_allowed Refine the configured role access decision for the current user.
hpb2b_bulk_order_product_is_allowed Exclude a product from the bulk-order workspace.
hpb2b_bulk_order_product_payload Adjust the validated product data returned to that workspace.
hpb2b_favorites_endpoint_slug Change the Favorites My Account endpoint slug.
hpb2b_wallet_eligible_cart_total Adjust the cart amount eligible for wallet payment.
hpb2b_contract_price_precedence Choose contract-versus-existing-price precedence for a matching company row.
hpb2b_contract_price_value Adjust a calculated contract price.
hpb2b_procurement_document_scan Apply an additional scanner decision to a private procurement attachment.
hpb2b_supplier_assignments_changed React when product/supplier assignments change.

Integration rules

Return the expected type and keep permission, tenant, stock and price checks intact. Do not use a display-only filter to override cart authorization or payment eligibility. Test both Classic and Blocks behavior when the hook affects commerce. For company and financial flows, preserve idempotency and audit context.

API credentials can also be provided through documented server constants. Keep them out of snippets pasted into a public page, browser console, or support ticket. See AI and integrations.

Documentation source: High Performance B2B 1.4.3 / Lite 1.5.6.