Back to list of all filter and action hooks for Address Book for WooCommerce.
Description #
Control whether customers can delete entries from their address book. When this filter returns false, customers will not be able to remove saved addresses from the checkout or account pages. This applies to the Address Book REST API endpoint as well.
Parameters #
$is_enabled(bool) Whether deleting entries is enabled. Default:true.
Examples #
/**
* Disable deleting address book entries.
*/
add_filter( 'fc_adb_is_entry_delete_enabled', '__return_false' );
