ThemeNcode Docs

Help/About

Estimated reading: 1 minute

The help/About page contains lots of information about the plugin, documentation, support, and other useful information. Go ahead and have a look at the page to see what’s there!

These settings pages that come with the WP File Access manager are available to admins only. However, in some cases, you may want to allow other user roles to be able to access this setting page and work on restrictions.

To Do that the plugin has a filter, You need to put the following Lines on your active Theme’s functions.php file:

function your_prefix_update_wfam_capability(){
	return 'edit_others_posts'; // For complete list of capabilities, please head over to: https://wordpress.org/support/article/roles-and-capabilities/
}
add_filter( 'wfam_required_capability_for_admin_pages', 'your_prefix_update_wfam_capability', 10 );
	

For a complete list of capabilities, please head over to: https://wordpress.org/support/article/roles-and-capabilities/

Leave a Comment