Created
March 17, 2016 23:04
-
-
Save bsmoo/23f50c595d9bdba2eead to your computer and use it in GitHub Desktop.
Get wordpress roles
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql> SELECT user_login,user_registered,meta_value FROM wp_users INNER JOIN wp_usermeta ON wp_users.id = wp_usermeta.user_id and meta_key = 'wp_capabilities'; | |
+---------------+---------------------+---------------------------------+ | |
| user_login | user_registered | meta_value | | |
+---------------+---------------------+---------------------------------+ | |
| administrator | 2013-12-21 10:36:30 | a:1:{s:13:"administrator";b:1;} | | |
| author | 2014-11-25 15:50:34 | a:1:{s:6:"author";b:1;} | | |
| editor | 2014-11-25 15:51:18 | a:1:{s:6:"editor";b:1;} | | |
| contributor | 2014-11-25 15:51:48 | a:1:{s:11:"contributor";b:1;} | | |
| subscriber | 2014-11-25 15:52:11 | a:1:{s:10:"subscriber";b:1;} | | |
+---------------+---------------------+---------------------------------+ | |
5 rows in set (0.01 sec) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment