nelsonic / learn-wordpress

🙄
GNU General Public License v2.0
1 stars 0 forks source link

How to Create New Roles or Customise Existing Roles in Wordpress? #2

Open nelsonic opened 4 years ago

nelsonic commented 4 years ago

This is a good post on the topic: https://wedevs.com/98266/add-custom-user-roles-wordpress

nelsonic commented 4 years ago

users.php: https://github.com/WordPress/WordPress/blob/master/wp-admin/users.php image

The main file for permissions (which are called "capabilities" in Wordpress) is: /wp-includes/capabilities.php https://github.com/WordPress/WordPress/blob/0bf9b04c53e29cd0f05af51037189a7963ccd9a9/wp-includes/capabilities.php The file is 1074 lines. ⏳

nelsonic commented 4 years ago

https://wordpress.org/plugins/members/#installation image