Back to list of all filter and action hooks for Address Book for WooCommerce.
Description #
Customize address editing page title on the account pages.
Parameters #
$title(string) Page title.$address_id(string) Address ID.
Examples #
/**
* Customize address editing title with more context
*/
function my_detailed_address_edit_title( $title, $address_id ) {
if ( $address_id == 'new' ) {
return 'Create New Address Entry';
} else {
return 'Modify Address Entry #' . $address_id;
}
}
add_filter( 'fc_pro_address_book_edit_address_entry_title', 'my_detailed_address_edit_title', 10, 2 );
