Use this filter to change the capability that is checked to allow maintenance of Caldera Forms. This filter works by “context” the most common context is “admin.” This example shows how to allow those with “create_posts” capability to use the Caldera Forms admin.
This filter, added in Caldera Forms 1.3.1 is inside of the method
get_manage_cap of the
Caldera_Forms class, which is used for all capabilities checks in Caldera Forms.
The context argument may be admin, edit or manage. You can apply a blanket change to allow all users with a capability like this:
Where Does This Code Go?
When using WordPress hooks to customize Caldera Forms or other plugins you should not modify the plugin files, or you will lose your changes when you update the plugin. Instead you should create a small plugin to hold the custom code. It's easy, learn how here.
Technically you can add the custom code to your theme's functions.php, but then you will not be able to change your theme and keep these customizations.