STM EU-B2B icon
Utilities

STM EU-B2B hooks reference

STM EU-B2B 1.9.2 has 37 actions and 55 filters, read directly from its source code on Nov 19, 2026. The list updates automatically when a new version is released.

How to use these hooks

Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.

functions.phpyour child theme
// Run your own code when STM EU-B2B fires an action
add_action( 'eurob2b_rules_changed', function() {
	// Your code runs here.
}, 10, 1 );

// Change a value STM EU-B2B is about to use
add_filter( 'eurob2b_order_vat_id_meta_keys', function( $value ) {
	// Change $value here.
	return $value;
}, 10, 1 );

Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.

All hooks

  • src/Modules/Tax/VatIdField.php line 929 · used in 2 places
    /**
     * This filter is documented in VatIdField::store_on_order().
     */
    apply_filters( 'eurob2b_order_vat_id_meta_keys', array( self::META_VAT_ID, '_billing_vat_id' ) );
  • src/Modules/Privacy/PrivacyModule.php line 100 · used in 2 places
    /**
     * Collects personal data providers from all modules.
     */
    apply_filters( 'eurob2b_personal_data_providers', array() );
  • src/Modules/Rules/RuleRepository.php line 106 · used in 2 places
    /**
     * Fires when a rule is created, updated or deleted (caches must be dropped).
     */
    do_action( 'eurob2b_rules_changed' );
  • src/Modules/Rules/Admin/RulesPage.php line 531 · used in 2 places
    /**
     * Fires on the rules form after the amount (position "action") and after the
     * scope (position "scope"): EU-B2B Pro adds the rows of its rule types and the
     * conditions there, built with RulesPage::row().
     */
    do_action( 'eurob2b_rules_form_rows', self::ROWS_ACTION, $rule, $amount_currency );
  • src/Infrastructure/Installer.php line 50
    /**
     * Fires after the plugin was activated and the schema is current.
     */
    do_action( 'eurob2b_activated' );
  • src/Modules/Admin/Menu.php line 187
    /**
     * Lets modules register admin pages.
     */
    do_action( 'eurob2b_admin_menu', $this );
  • src/Modules/Customers/AudienceResolver.php line 74
    /**
     * Filters the resolved audience context (e.g. company membership).
     */
    apply_filters( 'eurob2b_audience_context', $context, $user_id );
  • src/Modules/Audit/AuditFormatter.php line 122
    /**
     * Label of a stored value the core does not know, e.g. why acting as a member
     * ended (company accounts of EU-B2B Pro). Without a label the stored code is
     * shown.
     */
    apply_filters( 'eurob2b_audit_value_label', $value, $action );
  • src/Modules/Admin/BlocksCompatibilityNotice.php line 57
    /**
     * Differences of the Cart and Checkout blocks listed on the EU-B2B settings
     * page (PLT-005), keyed by id. Each entry has "block" ("cart", "checkout", or
     * "any" for both) and "text" (plain text, escaped on output); other entries
     * are dropped. EU-B2B adds none of its own; EU-B2B Pro adds the differences of
     * its features. A module that adds a difference also adds it to the
     * compatibility table in docs/ar...
     */
    apply_filters( 'eurob2b_blocks_differences', array() );
  • src/Modules/Pricing/CheckoutRevalidation.php line 124
    /**
     * Filters the unit price a cart line is expected to have at checkout.
     */
    apply_filters( 'eurob2b_checkout_expected_unit_price', $unit, $item, $fresh, $resolved );
  • src/Modules/Countries/CountryProfiles.php line 70
    /**
     * Filters the country profiles (add or replace a profile, e.g. after a
     * professional review).
     */
    apply_filters( 'eurob2b_country_profiles', $p );
  • src/Modules/Customers/CustomerService.php line 120
    /**
     * Fires after a customer's type, status or group changed.
     */
    do_action( 'eurob2b_customer_assigned', $user_id, $type, $status, $group, $actor_id, $previous_status, $previous_type, $previous_group );
  • src/Modules/Registration/RegistrationService.php line 257
    /**
     * Fires after a customer registered through EU-B2B.
     */
    do_action( 'eurob2b_customer_registered', $user_id, $type, $status, $values );
  • src/Infrastructure/Installer.php line 123
    /**
     * Fires on deactivation, e.g. to unschedule cron events.
     */
    do_action( 'eurob2b_deactivated' );
  • src/Support/Currency.php line 37
    /**
     * Whether groups may have their own currency. EU-B2B Pro returns true.
     */
    apply_filters( 'eurob2b_group_currencies_enabled', false );
  • src/Modules/Customers/GroupRepository.php line 249
    /**
     * Fires after a group was deleted and its members moved.
     */
    do_action( 'eurob2b_group_deleted', $group, $target );
  • src/Modules/Customers/GroupRepository.php line 192
    /**
     * Fires after a group was created or updated.
     */
    do_action( 'eurob2b_group_saved', $saved );
  • src/Modules/Registration/AntiAbuse.php line 98
    /**
     * Lets captcha providers veto a quote request from a guest (QUO-015).
     */
    apply_filters( 'eurob2b_guest_quote_captcha_valid', true, $post );
  • src/Plugin.php line 128
    /**
     * Fires once every module has been booted.
     */
    do_action( 'eurob2b_loaded', $this );
  • src/Modules/Payments/Admin/MethodsPage.php line 152
    /**
     * Fires below the heading of the payment and shipping methods page, for
     * notices about the last save (query arguments `error` and `failed` of
     * eurob2b_methods_page_save). EU-B2B Pro shows which of its tables kept their
     * previous values (PLT-015).
     */
    do_action( 'eurob2b_methods_page_notices' );
  • src/Modules/Payments/Admin/MethodsPage.php line 92
    /**
     * Saves the further tables of the payment and shipping methods page after the
     * method matrices were saved (capability and nonce are checked). EU-B2B Pro
     * saves the payment terms, the shipping costs per group and the surcharges and
     * discounts here (PLT-015). A table that cannot be saved keeps its previous
     * values and adds an entry; the page then shows the messages.
     */
    apply_filters( 'eurob2b_methods_page_save', array(), $post, $this->audiences() );
  • src/Modules/Payments/Admin/MethodsPage.php line 172
    /**
     * Fires inside the form of the payment and shipping methods page, after the
     * method matrices and before the save button; the fields are saved through
     * eurob2b_methods_page_save. EU-B2B Pro adds the shipping costs per group, the
     * payment terms and the surcharges and discounts per payment method (PLT-015).
     */
    do_action( 'eurob2b_methods_page_sections', $this );
  • src/Infrastructure/Installer.php line 191
    /**
     * Fires after database migrations ran.
     */
    do_action( 'eurob2b_migrated', $applied );
  • src/Modules/Migration/MigrationModule.php line 95
    /**
     * Sources the importer can read from (MIG-001).
     */
    apply_filters( 'eurob2b_migration_sources', array( $c->get( B2BKingSource::class ), new WholesaleSuiteSource() ) );
  • src/Modules/Orders/OrderAttributes.php line 172
    /**
     * Filters the rows shown in the EU-B2B box on the order screen.
     */
    apply_filters( 'eurob2b_order_attribute_rows', $rows, $order );
  • src/Modules/Orders/OrderAttributes.php line 186
    /**
     * Colours of rows in the EU-B2B box (PLT-017): label => tone of `StatusLabel`
     * (ok, warn, bad, info). A coloured row shows its text as a label, e.g. a
     * missing proof of supply in red.
     */
    apply_filters( 'eurob2b_order_attribute_tones', array(), $rows, $order );
  • src/Modules/Orders/OrderAttributes.php line 133
    /**
     * Filters the order attributes recorded at purchase.
     */
    apply_filters( 'eurob2b_order_attributes', $attributes, $audience, $order );
  • src/Modules/Admin/OverviewPage.php line 72
    /**
     * Lines of the overview page. Each line: count (int), title, text (plain
     * text), url, action (button label) and capability (needed to see the line).
     * Lines with a count of zero are hidden.
     */
    apply_filters( 'eurob2b_overview_items', array() );
  • src/Modules/Customers/LoginGuard.php line 100
    /**
     * Filters the message shown to pending customers.
     */
    apply_filters( 'eurob2b_pending_login_message', __( 'Your account is waiting for approval. We will e-mail you as soon as it is activated.', 'stm-eu-b2b' ) );
  • src/Modules/Pricing/PriceResolver.php line 267
    /**
     * Filters the adjustment providers (discount and markup rules).
     */
    apply_filters( 'eurob2b_price_adjustment_providers', array() );
  • src/Modules/Pricing/PriceResolver.php line 231
    /**
     * Filters the price providers (customer prices, company prices, fixed-price
     * rules, ...).
     */
    apply_filters( 'eurob2b_price_providers', $this->core_providers );
  • src/Modules/Pricing/PriceResolver.php line 249
    /**
     * Filters the tier providers (TierProviderInterface) consulted between
     * replacement and adjustments.
     */
    apply_filters( 'eurob2b_price_tier_providers', array() );
  • src/Modules/Pricing/PriceResolver.php line 152
    /**
     * Filters the quantity the tier providers look up their tiers with (EU-B2B
     * Pro: the tier quantity basis, PRC-015, counts all variations of a product in
     * the cart together).
     */
    apply_filters( 'eurob2b_price_tier_quantity', $quantity, $product );
  • src/Modules/Pricing/PricingContext.php line 66
    /**
     * Filters whether EU-B2B pricing applies to the current request.
     */
    apply_filters( 'eurob2b_pricing_applies', $default );
  • src/Modules/Pricing/PricingContext.php line 119
    /**
     * Filters the admin-ajax.php actions that count as storefront requests for
     * pricing.
     */
    apply_filters( 'eurob2b_pricing_storefront_ajax_actions', $actions );
  • src/Modules/Privacy/PrivacyPolicyText.php line 76
    /**
     * Filters the first sentences of the section on business customer accounts in
     * the suggested privacy policy text. EU-B2B Pro adds the products agreed for a
     * group (visibility).
     */
    apply_filters( 'eurob2b_privacy_policy_account_text', __( 'When you register as a business customer, we store the registration type you chose, the information you enter in the registration form and the time you accepted our terms. We use this information to review your application, to assign you to a customer group and to show you the prices and payment methods agreed for that group.', 'stm-eu-b2b' ) );
  • src/Modules/Privacy/PrivacyPolicyText.php line 60
    /**
     * Filters the note to the shop owner at the start of the suggested privacy
     * policy text (plain text). EU-B2B Pro names its checking services in it
     * (PLT-015).
     */
    apply_filters( 'eurob2b_privacy_policy_intro', __( 'STM EU-B2B stores the data described below and, only if you enable VAT ID validation, sends VAT IDs to the European Commission (VIES). Remove the sections for features you do not use and add the legal basis of each processing after reviewing it with your data protection advisor. The retention periods follow your current settings.', 'stm-eu-b2b' ) );
  • src/Modules/Privacy/PrivacyPolicyText.php line 141
    /**
     * Sections of the suggested privacy policy text by position (PRV-007): 10
     * business customer accounts, 20 VAT identification number, 70 protection
     * against abuse. EU-B2B Pro adds 30 company accounts, 40 quote requests and
     * offers, 50 messages, 60 purchase lists, 80 e-invoicing details, 90 Peppol
     * Directory, 100 confirmation of receipt, 110 export evidence and 120 purchase
     * order documents. Empty secti...
     */
    apply_filters( 'eurob2b_privacy_policy_sections', $sections );
  • src/Modules/Privacy/PrivacyPolicyText.php line 109
    /**
     * Filters the sentences that checking services besides VIES add to the section
     * on the VAT identification number, after the one on VIES (EU-B2B Pro: the
     * BZSt, the Swiss UID register and the Brønnøysund register while they are
     * on, PLT-015). Plain text.
     */
    apply_filters( 'eurob2b_privacy_policy_vat_services', array() );
  • src/Modules/Privacy/ProcessingRecord.php line 131
    /**
     * Adds or changes activities of the record of processing activities (PRV-010).
     */
    apply_filters( 'eurob2b_processing_activities', $this->own() );
  • src/Modules/Privacy/ProcessingRecord.php line 594
    /**
     * Filters the technical and organisational measures of the record (Art.
     * 30(1)(g) GDPR), plain text keyed by topic: access, input, abuse, retention,
     * connections, telemetry. EU-B2B Pro adds `companies` after `input` and names
     * the Peppol Directory lookup in `connections` (PLT-015).
     */
    apply_filters( 'eurob2b_processing_record_measures', array( 'access' => __( 'Admin screens, exports and the REST API require role-based capabilities; forms and downloads are protected against cross-site request forgery (nonces).', 'stm-eu-b2b' ), 'input' => __( 'Input is validated on the server, output is escaped, and database queries use prepared statements.', 'stm-eu-b2b' ), 'abuse' => __( 'The abuse protection stores IP addresses only as salte... );
  • src/Modules/Privacy/ProcessingRecord.php line 571
    /**
     * Filters the sentence on special categories of personal data (Art. 9 and 10
     * GDPR) in the record. EU-B2B Pro adds its quote request forms.
     */
    apply_filters( 'eurob2b_processing_record_special_categories', __( 'EU-B2B itself processes no special categories of personal data and no data on criminal convictions. Fields you add to the registration form can change this.', 'stm-eu-b2b' ) );
  • src/Modules/Privacy/ProcessingRecord.php line 582
    /**
     * Filters the sentences on transfers to third countries (Art. 30(1)(e) GDPR)
     * in the record, plain text joined by spaces. The first is the core's
     * statement; EU-B2B Pro replaces it while the Swiss UID check is on and adds
     * one on Norway while the Brønnøysund check is on
     * (docs/privacy-and-data-flows.md D-03).
     */
    apply_filters( 'eurob2b_processing_record_transfers', array( __( 'EU-B2B transfers no personal data to third countries or international organisations. Add the transfers of your hosting, e-mail delivery and other services.', 'stm-eu-b2b' ) ) );
  • src/Modules/Privacy/ProcessingRecord.php line 379
    /**
     * Filters the lists of the activity EB-03 (VAT ID checks and tax evidence) of
     * the record. EU-B2B Pro appends its checking services (BZSt, UID register,
     * Brønnøysund), the proof of intra-Community supply and the export evidence,
     * and sets `in_use` while one of them is on (PLT-015). Add to the end of each
     * list; lists hold plain text.
     */
    apply_filters( 'eurob2b_processing_record_vat_parts', $base );
  • src/Modules/Admin/ProductDataTab.php line 179
    /**
     * Fields of the section "prices" of the EU-B2B product tab: recommended retail
     * price, group prices, customer prices. Print them as `options_group` blocks.
     */
    do_action( 'eurob2b_product_panel_prices' );
  • src/Modules/Admin/ProductDataTab.php line 191
    /**
     * Fields of the section "quantities" of the EU-B2B product tab: minimum,
     * maximum and step quantities. Print them as `options_group` blocks.
     */
    do_action( 'eurob2b_product_panel_quantities' );
  • src/Modules/Admin/ProductDataTab.php line 197
    /**
     * Fields of the section "stock" of the EU-B2B product tab: the separate stock
     * for business customers. Print them as `options_group` blocks.
     */
    do_action( 'eurob2b_product_panel_stock' );
  • src/Modules/Admin/ProductDataTab.php line 163
    /**
     * Filters the parts of the summary next to a section title of the EU-B2B
     * product tab, e.g. "2 of 4 groups with their own price". Each module adds
     * plain-text parts for its own fields of that section and only for users who
     * may see those fields.
     */
    apply_filters( 'eurob2b_product_panel_summary', array(), $key, $product );
  • src/Modules/Admin/ProductDataTab.php line 215
    /**
     * Fields of the section "tax" of the EU-B2B product tab: the supply type
     * (goods or service) for the tax decision. Print them as `options_group`
     * blocks.
     */
    do_action( 'eurob2b_product_panel_tax' );
  • src/Modules/Admin/ProductDataTab.php line 185
    /**
     * Fields of the section "tiers" of the EU-B2B product tab: quantity tiers and
     * the tier table switch. Print them as `options_group` blocks.
     */
    do_action( 'eurob2b_product_panel_tiers' );
  • src/Modules/Admin/ProductDataTab.php line 209
    /**
     * Fields of the section "variations" of the EU-B2B product tab: the variations
     * table (variable products). Print them as `options_group` blocks.
     */
    do_action( 'eurob2b_product_panel_variations' );
  • src/Modules/Admin/ProductDataTab.php line 203
    /**
     * Fields of the section "visibility" of the EU-B2B product tab: visibility per
     * audience. Print them as `options_group` blocks.
     */
    do_action( 'eurob2b_product_panel_visibility' );
  • src/Modules/Privacy/PrivacyPolicyText.php line 163
    /**
     * Further forms whose requests are limited per connection, as parts of a
     * sentence ("the order form"); EU-B2B Pro adds quote requests from guests and
     * the order form.
     */
    apply_filters( 'eurob2b_protected_forms', $forms );
  • src/Plugin.php line 105
    /**
     * Allows add-ons to register additional modules before boot.
     */
    do_action( 'eurob2b_register_modules', $this->modules, $this->container );
  • src/Modules/Registration/RegistrationService.php line 298
    /**
     * Fires after a registration was approved.
     */
    do_action( 'eurob2b_registration_approved', $user_id, $actor_id );
  • src/Modules/Registration/AntiAbuse.php line 106
    /**
     * Lets captcha providers veto a registration.
     */
    apply_filters( 'eurob2b_registration_captcha_valid', true, $post );
  • src/Modules/Registration/ExternalRegistration.php line 213
    /**
     * Fires when the action `eurob2b_register_business_customer` could not
     * register the user.
     */
    do_action( 'eurob2b_registration_external_failed', (int) $user_id, $result );
  • src/Modules/Registration/RegistrationService.php line 320
    /**
     * Fires after a registration was rejected.
     */
    do_action( 'eurob2b_registration_rejected', $user_id, $note, $actor_id );
  • src/Modules/Registration/RegistrationTypeRepository.php line 94
    /**
     * Filters whether an enabled registration type is offered on the registration
     * forms.
     */
    apply_filters( 'eurob2b_registration_type_offered', true, $type );
  • src/Modules/Customers/LoginGuard.php line 112
    /**
     * Filters the message shown to rejected customers.
     */
    apply_filters( 'eurob2b_rejected_login_message', __( 'This account has not been activated. Please contact us if you think this is a mistake.', 'stm-eu-b2b' ) );
  • src/Modules/Pricing/PriceResolver.php line 201
    /**
     * Filters the resolved price of a product for an audience.
     */
    apply_filters( 'eurob2b_resolved_price', $result, $product, $audience, $quantity );
  • src/Modules/Privacy/RetentionRunner.php line 42
    /**
     * Collects the retention tasks of all modules.
     */
    apply_filters( 'eurob2b_retention_tasks', array() );
  • src/Modules/Rules/Rule.php line 257
    /**
     * Filters the rule types offered in the admin (id => label). Modules that add
     * a type also provide its evaluation through the RuleEvaluator. EU-B2B Pro
     * adds its types with priority 5, right after the discount.
     */
    apply_filters( 'eurob2b_rule_types', $types );
  • src/Modules/Rules/Admin/RulesPage.php line 284
    /**
     * Filters the type-specific payload of a rule built from the rules form, the
     * import or the REST API (EU-B2B Pro fills in its rule types). Throw a
     * RuntimeException with a message for the admin to refuse the values.
     */
    apply_filters( 'eurob2b_rules_action_from_request', $action, $type, $post );
  • src/Modules/Rules/Admin/RulesPage.php line 510
    /**
     * Filters the modes of the amount of a discount on the rules form (mode =>
     * label; EU-B2B Pro adds the fixed amount in the rule's currency).
     */
    apply_filters( 'eurob2b_rules_amount_modes', $modes, $amount_currency );
  • src/Modules/Rules/RuleSupport.php line 80
    /**
     * Filters whether a module handles the rule types, the fixed-amount mode, the
     * conditions and the discount line in the cart (EU-B2B Pro returns true;
     * return true only from the module that applies them and adds their form
     * parts). It switches no behaviour on by itself. Without it, rules that use
     * them stay stored but never apply, and the rules page lists them without
     * editing them.
     */
    apply_filters( 'eurob2b_rules_extended', false );
  • src/Modules/Rules/RuleEvaluator.php line 85
    /**
     * Filters the rules that apply to a product.
     */
    apply_filters( 'eurob2b_rules_for', $matched, $type, $product, $audience, $quantity );
  • src/Modules/Rules/Admin/RulesPage.php line 640
    /**
     * Filters the explanatory texts of the rules page: "list" above the table of
     * rules, "amount" under the amount of a discount (EU-B2B Pro describes its
     * rule types there).
     */
    apply_filters( 'eurob2b_rules_page_descriptions', $texts );
  • src/Modules/Admin/AdminModule.php line 92
    /**
     * Lets modules add sections and fields.
     */
    do_action( 'eurob2b_settings_schema', $schema );
  • src/Modules/Admin/SettingsTransfer.php line 122
    /**
     * Parts of the settings file that belong to modules (PLT-012, PLT-015).
     */
    apply_filters( 'eurob2b_settings_transfer_parts', array() );
  • src/Modules/Admin/SettingsTransferPage.php line 206
    /**
     * Prints further sections of the transfer page, e.g. the import from another
     * plugin (MIG-001).
     */
    do_action( 'eurob2b_settings_transfer_sections' );
  • src/Modules/Admin/SettingsTransfer.php line 474
    /**
     * Warnings about values of a settings file that only mean something in the
     * shop the file comes from (e.g. page numbers), shown before and after an
     * import (PLT-012).
     */
    apply_filters( 'eurob2b_settings_transfer_warnings', array(), $data );
  • src/Modules/Admin/Settings.php line 175
    /**
     * Fires after the settings were saved.
     */
    do_action( 'eurob2b_settings_updated', $clean );
  • src/Modules/Tax/Treatment/CartTreatment.php line 498
    /**
     * Filters the exemption text written to the order for invoices.
     */
    apply_filters( 'eurob2b_tax_exemption_text', $text, $decision );
  • src/Modules/Tax/Admin/TaxReviewAdmin.php line 257
    /**
     * A staff member confirmed the review of an order whose tax treatment EU-B2B
     * flagged (the audit log records it).
     */
    do_action( 'eurob2b_tax_review_confirmed', $order, $actor_id );
  • src/Modules/Tax/Treatment/CartTreatment.php line 482
    /**
     * Filters the invoice text of a decision a special case made, before the
     * exemption texts (EU-B2B Pro: the supply to a special territory outside the
     * EU VAT area, TAX-024). An empty text leaves the decision to the core, which
     * writes a text only for exempt and mixed orders.
     */
    apply_filters( 'eurob2b_tax_special_invoice_text', '', $decision );
  • src/Modules/Tax/TaxModule.php line 178
    /**
     * Filters the special cases of the tax treatment decision, asked in this order
     * before the standard rules (`Treatment\SpecialTreatment`; EU-B2B Pro: the
     * special territories, TAX-024, and Northern Ireland, TAX-034). Without them
     * those addresses count as their country.
     */
    apply_filters( 'eurob2b_tax_special_treatments', array() );
  • src/Modules/Tax/Treatment/CartTreatment.php line 218
    /**
     * Filters the facts of a tax treatment decision for a cart or an order (EU-B2B
     * Pro switches on the special territories and Northern Ireland by their
     * settings, TAX-024 and TAX-034, see `TreatmentInput::with_special_cases()`).
     * The special cases themselves come through `eurob2b_tax_special_treatments`.
     */
    apply_filters( 'eurob2b_tax_treatment_input', $input );
  • src/Modules/Tax/Validation/ValidationService.php line 358
    /**
     * Fires after a manual decision on a VAT validation.
     */
    do_action( 'eurob2b_vat_decided', $record, $actor_id, null !== $before ? $before->status->value : '' );
  • src/Modules/Tax/Validation/ValidationService.php line 509
    /**
     * Filters whether checks ask for a qualified confirmation with the company
     * data now (EU-B2B Pro: the BZSt in its qualified mode). Then a stored BZSt
     * answer that compared other company data is not reused, and the service is
     * asked again.
     */
    apply_filters( 'eurob2b_vat_qualified_confirmation', false );
  • src/Modules/Tax/Validation/ValidationService.php line 542
    /**
     * Filters the company data of a registered customer for a qualified
     * confirmation (EU-B2B Pro: the billing address of the company that binds the
     * customer, CMP-012). Null means no company data (the confirmation stays
     * simple).
     */
    apply_filters( 'eurob2b_vat_trader_details', $trader, $user_id );
  • src/Modules/Tax/Validation/ValidationService.php line 557
    /**
     * Fires after a validation reached a final service result.
     */
    do_action( 'eurob2b_vat_validated', $record );
  • src/Modules/Tax/Validation/ValidationService.php line 114
    /**
     * Filters whether a checking service is switched on: VIES, or a service of an
     * add-on (EU-B2B Pro: the BZSt, the Swiss UID register and the Brønnøysund
     * register, each by its setting). Off, numbers are only checked for their
     * format.
     */
    apply_filters( 'eurob2b_vat_validation_enabled', $this->vies_enabled() );
  • src/Modules/Tax/Admin/ValidationsPage.php line 171
    /**
     * Fires at the end of the VAT IDs page (reports add their forms here). The
     * core adds the country profiles at priority 20; EU-B2B Pro adds the OSS
     * monitor (4), the recapitulative statement (5), the export of exempt sales
     * (10) and the special territories (20, after the profiles).
     */
    do_action( 'eurob2b_vat_validations_page_end' );
  • src/Modules/Tax/Validation/ValidationService.php line 435
    /**
     * Filters the VAT ID validators (BZSt, Swiss UID, Brønnøysund add-ons).
     */
    apply_filters( 'eurob2b_vat_validators', $this->core_validators );
  • templates/emails/admin-approval-required.php line 19 · used in 4 places
    do_action( 'woocommerce_email_header', $email_heading, $email );
  • templates/registration-form.php line 48
    do_action( 'woocommerce_register_form' );
  • templates/registration-form.php line 55
    do_action( 'woocommerce_register_form_end' );
  • templates/registration-form.php line 25
    do_action( 'woocommerce_register_form_start' );
  • templates/registration-form.php line 23
    do_action( 'woocommerce_register_form_tag' );

Generated from STM EU-B2B's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.

Done for you

Rather have it built for you?

Tell us what should change and we’ll write and test the code using these hooks.

Plugin customisation

from $149

New features or changed behaviour, without editing the plugin’s files.

  • Built as a companion plugin, so updates never wipe it
  • Exact quote before we start
  • Tested on staging, then deployed

Typical turnaround: 3–7 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Can't find the right hook?

We can build the customisation for you. Describe what you need: