I was look in the wp_users table a " user_status " column...( all contain zero )

What works is this data?

enter image description here

  • A quick Google search or search here in the WordPress Stack Exchange would have revealed the answer - it's no longer used by WordPress core. – Mat Apr 14 '18 at 23:11
  • I'dont find, the results mixed my head... not using the only real thing anymore – l6ls Apr 14 '18 at 23:14

The user_status column in the wp_users table is no longer used by WordPress core - it just hasn't been removed. It may, or may not be used in the future. Best to leave it alone...

| improve this answer | |
  • I am think wp used in the past "spam user", "banned user"? – l6ls Apr 14 '18 at 23:12
  • Well, for 'active', 'inactive' and 'pending activation', I believe... – Mat Apr 14 '18 at 23:15
  • so now how to set activation action? – l6ls Apr 26 '18 at 19:33

It is used to update the status of a user in the database. Used in core to mark a user as spam or "ham" (not spam) on multisite installs.

Status 0 is Ham
Status 1 is Spam

Again, this will not work on single site installs.


| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.