This filter can be used to add new capabilities to the user restrictions global setting. By default, all Gravity Forms capabilities and all active WordPress capabilities are included.
$capabilities | array
- The multidimensional associative array that holds the list of capabilities.
This snippet adds a new group to our User Restrictions global setting which includes three capabilities:
This filter is located in the
Helper_Abstract_Options::get_capabilities() method of