edd_pre_delete_customers
Description:
This action is fired shortly before a customer is deleted on the edd_delete_customer webhook action.
Parameter | Type | Description |
---|---|---|
$customer_id | integer | The id of the customer. |
$delete_records | bool | If true, all assigned records are going to be deleted too. Default: false |
do_action( 'edd_pre_delete_customer', $customer_id, $delete_records );