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_pro_address_book_address_fields

How can we help?

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
  • Troubleshooting – Redirected to error 404 (page not found) when trying to delete an address from the Address Book

Development

  • Filter and action hooks – Address Book
  • Troubleshooting – jQuery events or vanilla JavaScript events not working
  • Changelog – Fluid Checkout Address Book
  • Changelog format and semantic version numbers
View Categories

fc_pro_address_book_address_fields

Back to list of all filter and action hooks for Address Book for WooCommerce.

Description #

Customize which address fields are used in the account address edit pages, and their attributes.

Similarly to how woocommerce_billing_fields and woocommerce_shipping_fields work, allows to modify the fields configuration array used when displaying address editing forms, including labels, types, and other field properties.

Parameters #

  • $fields (array) Address fields array.
  • field_key (array) Field configuration for each field.
    • label (string) Field label text.
    • type (string) Field type (text, select, etc.).
    • required (bool) Whether field is required.
    • class (array) CSS classes for the field.
    • priority (int) Field display priority.
    • options (array) Options for select fields.

Examples #

/**
 * Change company field label to "Business name" in address book forms
 */
function change_company_field_label_to_business_name( $fields ) {
    // Check if company field exists and modify its label
    if ( isset( $fields['company'] ) ) {
        $fields['company']['label'] = 'Business name';
    }
    
    return $fields;
}
add_filter( 'fc_pro_address_book_address_fields', 'change_company_field_label_to_business_name', 10 );
Still stuck? How can we help?

How can we help?

Updated on December 15, 2025
fc_pro_before_save_address_from_accountfc_checkout_before_main_section_wrapper
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