wpwhpro/run/delete_action_user_notification
Description:
This filter allows you to deactivate the nuser notifications after their account has been deleted. We will send an email by default that informs the user that their account has been deleted.
Parameter | Type | Description |
---|---|---|
true | bool | True if the emails should been sent. |
/** * Activate the deletion of users that have the administrator role. Default: false */ $send_admin_notification = apply_filters( 'wpwhpro/run/delete_action_user_notification', true );