How can I disable a UM user programatically?
-
Hello,
is it possible to set the status of a user profile programatically to inactive?
My following code does not work for some reason, I get no errors in the error.log
// Disable the account
um_fetch_user(sender_id);
um_update_profile(array(
‘ID’ => sender_id,
‘account_status’ => ‘inactive’,
));
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How can I disable a UM user programatically?’ is closed to new replies.