March 2020
Beginner
660 pages
18h 28m
English
In this scenario, we created a new capability by just adding the capability name as review-products. The plugin will automatically register it as a new capability. Then, the plugin will update the wp_user_roles key in the database by adding the new capability to the current user.
Once the capability is created, it will be available for selection in the capabilities list. We can assign it to user roles or specific users. The core WordPress capabilities are used within the core files to provide permission to various features. However, adding a new capability ...
Read now
Unlock full access