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.
// 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
-
/** * 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 ); -
/** * 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 ); -
/** * 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' ) ) ); -
/** * 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 ); -
/** * 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 ); -
/** * 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 ); -
/** * 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, ) ); -
/** * 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 ); -
/** * Filters the default settings (the Pro edition adds its own). */ apply_filters( 'aovup_vat_default_settings', $defaults ); -
/** * Filters the reverse-charge decision for a checked VAT number. */ apply_filters( 'aovup_vat_exempt_decision', $decision, $result, $billing_country ); -
/** * Fires after the VAT evidence was written on an order (not saved yet). */ do_action( 'aovup_vat_order_recorded', $order, $evidence ); -
/** * 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'] ); -
/** * 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 ); -
/** * 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 ); -
/** * 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 ); -
/** * 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 ); -
/** * Filters the settings fields (the Pro edition adds its own before the closing * ones). */ apply_filters( 'aovup_vat_settings_fields', $fields ); -
/** * 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 ); -
/** * 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 ); -
/** * Filters the VIES endpoint (tests point it at the VIES test service). */ apply_filters( 'aovup_vat_vies_endpoint', self::ENDPOINT ); -
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.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin 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 thisNot 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: