autoship_cloud_main_page_options_security

(src > admin.php) Can be used to adjust who has rights to see the settings page content. The filter takes the current capability needed for a user to see the Autoship Cloud Settings page. By Default the Administrator capability is required.

Example

// allow contributor role to see main page content
function allow_contributor($capability){
    return 'edit_posts';
}
add_filter('autoship_cloud_main_page_options_security', 'allow_contributor', 10, 1);

Still need help? Contact Us Contact Us