@cbutlerjr sorry for the late reply, I’ve been very busy. ?? Ok: I found a user registered programmatically is NOT active by default.
So, my question is: is there any way to bypass this setting? Basically, I would like to have programmatically registered users be directly active.
Is there a wp_members usermeta where the user’s status is recorded? I could also change the user status from there, perhaps.
[EDIT] Ok, I found wp-members sets an ‘active’ usermeta with value 0 or 1. When I update_user_meta setting active=1, the Users table reflects this change and it doesn’t display the Activate label anymore. Usermeta update by code does not cause unwanted activation emails to be sent (perfect!) ??
Please, let me know if you have any comment, that is if I’m missing something important here.
-
This reply was modified 1 month, 4 weeks ago by
islp.