Dectivates a user when moderated registration is used.
(int) (optional) The user ID. If no ID is passed, the current user ID will be used.
- Triggers wpmem_user_deactivated action
- Also see wpmem_activate_user()
- Introduced in version 2.7.1
- 3.2.4 Renamed from wpmem_a_deactivate_user().
- 3.3.0 Moved to user API
wpmem_deactivate_user() is located in /includes/api-users.php.