AovUp EU & UK VAT Validation for WooCommerce icon
eCommerce & WooCommerce

AovUp EU & UK VAT Validation for WooCommerce hooks reference

  • By Woosuite
  • v1.0.2 New
  • Updated

AovUp EU & UK VAT Validation for WooCommerce 1.0.2 has 4 actions and 17 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 AovUp EU & UK VAT Validation for WooCommerce fires an action
add_action( 'aovup_vat_admin_box_end', function( $order, $evidence ) {
	// Your code runs here.
}, 10, 2 );

// Change a value AovUp EU & UK VAT Validation for WooCommerce is about to use
add_filter( 'aovup_vat_accept_when_service_down', function( $value, $result ) {
	// Change $value here.
	return $value;
}, 10, 2 );

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

  • includes/class-aovup-vat-exemption.php line 154 · used in 2 places
    /**
     * Filters whether a number that could not be checked online right now still
     * counts (Pro: accept and re-check later).
     */
    apply_filters( 'aovup_vat_accept_when_service_down', false, $result );
  • includes/class-aovup-vat-order.php line 283
    /**
     * Fires at the end of the evidence box on the order screen (Pro adds a "Check
     * again" button).
     */
    do_action( 'aovup_vat_admin_box_end', $order, $evidence );
  • includes/class-aovup-vat-validator.php line 130
    /**
     * Filters the settings a cached answer depends on (Pro adds HMRC, its sandbox
     * and the store's own number).
     */
    apply_filters( 'aovup_vat_cache_context', array( 'vies' => AovUp_VAT_Plugin::on( 'vies' ) ) );
  • includes/class-aovup-vat-limiter.php line 87
    /**
     * Filters whether online VAT checks in this request count against the limits.
     * It doesn't reach the re-check before a subscription renewal, which is never
     * limited.
     */
    apply_filters( 'aovup_vat_check_limit_applies', $applies );
  • includes/class-aovup-vat-limiter.php line 318
    /**
     * Filters the address the limits count by (for stores behind a proxy that
     * doesn't pass the visitor's address on).
     */
    apply_filters( 'aovup_vat_check_limit_ip', $ip );
  • includes/class-aovup-vat-limiter.php line 268
    /**
     * Filters whether a signed-in customer counts in the store-wide count of known
     * buyers instead of the visitors'.
     */
    apply_filters( 'aovup_vat_check_limit_trusted_customer', self::$trusted[ $user ], $user );
  • includes/class-aovup-vat-limiter.php line 129
    /**
     * Filters the limits on online VAT checks for visitors.
     */
    apply_filters( 'aovup_vat_check_limits', array( 'visitor' => self::PER_VISITOR, 'ip' => self::PER_IP, 'store' => self::PER_STORE, 'window' => self::WINDOW, ) );
  • includes/class-aovup-vat-compat.php line 73
    /**
     * Filters which plugin owns the checkout VAT/tax number field. Return an empty
     * 'owner' to let this plugin show its own field.
     */
    apply_filters( 'aovup_vat_checkout_field_owner', $owner );
  • includes/class-aovup-vat-plugin.php line 59
    /**
     * Filters the default settings (the Pro edition adds its own).
     */
    apply_filters( 'aovup_vat_default_settings', $defaults );
  • includes/class-aovup-vat-exemption.php line 187
    /**
     * Filters the reverse-charge decision for a checked VAT number.
     */
    apply_filters( 'aovup_vat_exempt_decision', $decision, $result, $billing_country );
  • includes/class-aovup-vat-order.php line 137
    /**
     * Fires after the VAT evidence was written on an order (not saved yet).
     */
    do_action( 'aovup_vat_order_recorded', $order, $evidence );
  • includes/class-aovup-vat-validator.php line 82
    /**
     * Lets the Pro edition check a number itself (HMRC for UK numbers,
     * consultation numbers for VIES). Return null to use the built-in VIES check.
     */
    apply_filters( 'aovup_vat_remote_check', null, $parts['prefix'], $parts['national'] );
  • includes/class-aovup-vat-renewals.php line 150
    /**
     * Fires when a renewal was charged VAT only because its number could not be
     * checked, and a later check may work (Pro checks it again in the background
     * and tells the store owner when it is valid).
     */
    do_action( 'aovup_vat_renewal_charged_unchecked', $order, $evidence, $result );
  • includes/class-aovup-vat-renewals.php line 645
    /**
     * Filters how many hours a renewal may wait for its background re-check before
     * the notice lists it for a check by hand.
     */
    apply_filters( 'aovup_vat_renewal_checking_hours', self::CHECKING_HOURS );
  • includes/class-aovup-vat-renewals.php line 183
    /**
     * Fires when a renewal kept its exemption because its number could not be
     * checked again and a later check may work (Pro re-checks it in the
     * background).
     */
    do_action( 'aovup_vat_renewal_unchecked', $order, $evidence, $result );
  • includes/class-aovup-vat-renewals.php line 363
    /**
     * Filters how many days old the last successful check of a renewal's VAT
     * number may be for the renewal to keep its reverse charge when the number
     * can't be checked right now.
     */
    apply_filters( 'aovup_vat_renewal_unchecked_max_age_days', $days, $subscription );
  • includes/class-aovup-vat-settings.php line 195
    /**
     * Filters the settings fields (the Pro edition adds its own before the closing
     * ones).
     */
    apply_filters( 'aovup_vat_settings_fields', $fields );
  • includes/class-aovup-vat-countries.php line 198
    /**
     * Filters whether UK check digits are tested offline (Pro turns it off while
     * HMRC answers for GB numbers).
     */
    apply_filters( 'aovup_vat_uk_check_digits', true, $prefix );
  • includes/class-aovup-vat-renewals.php line 485
    /**
     * Filters why a renewal's VAT number could not be checked (shown in its order
     * note and the log).
     */
    apply_filters( 'aovup_vat_unchecked_reason', $why, $result );
  • includes/class-aovup-vat-vies.php line 63
    /**
     * Filters the VIES endpoint (tests point it at the VIES test service).
     */
    apply_filters( 'aovup_vat_vies_endpoint', self::ENDPOINT );
  • includes/class-aovup-vat-exemption.php line 124
    apply_filters( 'woocommerce_local_pickup_methods', array( 'legacy_local_pickup', 'local_pickup' ) );

Generated from AovUp EU & UK VAT Validation for WooCommerce'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: