Skip to content
Fluid Checkout
  • Demo
  • Features
  • Add-ons
    • Complete Bundle Save 42%
    • Fluid Checkout PRO
    • Google Address Autocomplete
    • Address Book
    • EU-VAT Assistant
  • Pricing PRO
  • Docs
  • Support
  • My account
0,00 € 0 items
Home / Docs / fc_vat_number_field_args

How can we help?

Features

  • Proof of address for sales of digital goods

Customizations

  • Safely add code snippets to your WooCommerce website

Compatibility

  • Troubleshooting – jQuery events or vanilla JavaScript events not working

Troubleshooting

  • Troubleshooting – jQuery events or vanilla JavaScript events not working

Development

  • Filter and action hooks – EU-VAT Assistant
  • Changelog – Fluid Checkout EU-VAT Assistant
  • Troubleshooting – jQuery events or vanilla JavaScript events not working
  • Changelog format and semantic version numbers
View Categories

fc_vat_number_field_args

Back to list of all filter and action hooks for EU-VAT Assistant.

Description #

Customize the appearance, behavior, and validation arguments of the default VAT number field in the checkout and address forms.

Parameters #

  • $args (array) The field arguments array that defines the VAT number field properties.

The array of field arguments used to define the VAT number field, any argument accepted by WooCommerce checkout fields can be used, most commonly:

  • label (string) The field label, usually displayed above the input field.
  • description (string|null) The description of the field, usually used to display help text below the input field. Set to null to remove it.
  • required (boolean) Whether the field is mandatory.
  • class (array) Additional CSS classes applied to the field container.
  • priority (integer) Field display order priority in the form (lower = earlier).
  • optional_expand_link_lowercase (boolean) Controls whether the links to expand/collapse this field are displayed in lowercase or normal letter case. Only applies if the field is optional. Defaults to `false`, normal letter case.

Examples #

/**
 * Customize VAT number field
 */
function fc_vat_customize_number_field_args_callback( $args ) {
    // Change field label
    $args['label'] = __( 'Tax ID Number', 'your-text-domain' );

    // Change field description
    $args['description'] = 'Enter your business tax identification number';

    // Change field priority (display order in form)
    $args['priority'] = 100;

    // Add custom CSS classes
    $args['class'][] = 'custom-vat-field';

    // Make field required
    $args['required'] = true;

    return $args;
}
add_filter( 'fc_vat_number_field_args', 'fc_vat_customize_number_field_args_callback', 10 );
Still stuck? How can we help?

How can we help?

Updated on December 15, 2025
fc_vat_is_vat_number_fieldfc_vat_enable_compat_{$page}_style_{$theme_slug}
Table of Contents
  • Description
  • Parameters
  • Examples
Fluid Checkout

Frictionless Multi-step Checkout for WooCommerce

© 2021-2025 Fluid Checkout OÜ

Terms | Refunds | Privacy Policy | Cookies

Products
  • All products
  • Fluid Checkout PRO
  • Fluid Checkout Lite
  • Google Address Autocomplete add-on
  • Address Book add-on
  • EU-VAT Assistant add-on
Company
  • Support
  • Careers Hiring
  • My account
  • About
  • Homepage
  • Homepage
  • Features
  • Pricing PRO
  • Demo
  • Docs
  • Support
  • My account