1. Home
  2. Filters
  3. Filter reference: wpforms_manage_cap

apply_filters( 'wpforms_manage_cap', $cap );

Filters user access to WPForms based on their current role’s capabilities.

Description

The 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.

Parameters

$cap
(type) (Required) Capability required for user role to access WPForms.

Source

wpforms/includes/functions.php

More Information

For a snippet to expand WPForms access to Editor roles, please see our tutorial.

Updated on July 26, 2018

Was this article helpful?