May 2017
Beginner to intermediate
536 pages
14h 25m
English
In general, a moderator user role should be able to handle all the post types created in this application and the member role should have permission for topics. Therefore, we need to provide post-specific capabilities to these user roles. In Chapter 2, Implementing Membership Roles, Permissions, and Features, we implemented the user management and permission related features. Now, it's time to update the plugin to add the necessary permissions. Open the class-wpwaf-config-manager.php file in the WPWA Forum plugin. Navigate to the add_application_user_capabilities function and change the existing code as follows:
public function add_application_user_capabilities() { // Section 1 $custom_member_capabilities ...Read now
Unlock full access