Filters user access to WPForms based on their current role’s capabilities.
wpforms_manage_cap filter is applied to any user who logs into the WordPress dashboard. By default, only users with the
manage_options capability (administrator role) will have access to WPForms.
- (type) (Required) Capability required for user role to access WPForms.
For a snippet to expand WPForms access to Editor roles, please see our tutorial.