fc_pro_process_address_book_entry_field_{$key}

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

Description #

Process the value of individual address book entry fields when saving an address book entry from the account edit address pages.

Modifiers #

  • {$key} (string) placeholder, replaced with the actual field key (e.g., first_name, last_name, etc.).

Parameters #

  • $value (mixed) Field value.
  • $key (string) Field key. (in filter name).

Examples #

/**
 * Format first name field consistently
 */
function format_first_name_field( $value ) {
    return ucfirst( strtolower( trim( $value ) ) );
}
add_filter( 'fc_pro_process_address_book_entry_field_first_name', 'format_first_name_field', 10 );

What are your feelings

Updated on December 15, 2025