May 2017
Beginner to intermediate
536 pages
14h 25m
English
You can find over 50 built-in capabilities in the WordPress default database. Most of these capabilities are focused on providing permissions related to website or blog creation. Therefore, it's a must to create our own capabilities in developing web applications. If you are curious to learn, you can look at the wp_user_roles option inside the wp_options table for all the available user roles and their capabilities. You can use any MySQL GUI client or phpMyAdmin application to execute the following query to view the default user role data. Take a look at the following code:
select option_value from wp_users where option_name='wp_user_roles'
You should see a serialized array like the following one:
a:10:{s:13:"administrator";a:2:{s:4:"name";s:13:"Administrator";s: ...Read now
Unlock full access