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_entry_before_update

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_entry_before_update

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

Description #

Modify the individual address entry before updating it in the address book entries list.

Can be used to modify, validate, or process the specific address entry data. Triggered before the entry is updated to the address book.

Parameters #

  • $address_entry (array) Address entry data.
    • first_name (string) First name.
    • last_name (string) Last name.
    • address_1 (string) Address line 1.
    • address_2 (string) Address line 2.
    • city (string) City.
    • state (string) State/Province.
    • postcode (string) Postal code.
    • country (string) Country code.
    • company (string) Company name.
    • phone (string) Phone number.
    • email (string) Email address.
  • $user_id (int) User ID.

Examples #

/**
 * Modify address entry before updating
 */
function modify_address_before_update( $address_entry, $user_id ) {
    // Add 'Updated: ' prefix to company field
    if ( ! empty( $address_entry['company'] ) ) {
        $address_entry['company'] = 'Updated: ' . $address_entry['company'];
    }
    
    return $address_entry;
}
add_filter( 'fc_pro_address_book_entry_before_update', 'modify_address_before_update', 10, 2 );
Still stuck? How can we help?

How can we help?

Updated on December 15, 2025
fc_pro_address_book_entry_account_markupfc_pro_before_save_address_from_account
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
  • Docs
  • Demo
  • Support
  • My account