How to Allow Editors to Edit Gravity Forms

PluginsTechnical ElementsWebsite ContentWordPress
gravity forms logo

We frequently instruct clients to try to keep the number of users with administrator level access to a minimum. Not everyone who will be editing site content needs to also have access to all the plugins and settings, nor should they.

The problem is that by default, giving more limited access to users, such as the Editor role, limits them to accessing the standard content: Posts and Pages. But almost all websites have kinds of content that is edited outside of these two areas. What about pop ups or forms?

Pretty much without exception, we use Gravity Forms on our WordPress websites. We love the extendability and dozens of integrations: HubSpot, MailChimp, Zapier, PayPal, Stripe, and many more. But if a user is only an Editor, they aren’t going to be able to edit forms on their site. There’s no need to get an admin involved just to make an update to a form, so we update some code in order to get form editing back where it belongs – in the hands of the content editor.

In order to make this happen, add the following code to your child theme’s functions.php file:

/* make gravity forms available to Editor role */
function add_gf_cap()
    $role = get_role( 'editor' );
    $role->add_cap( 'gform_full_access' );
add_action( 'admin_init', 'add_gf_cap' );

Happy form editing!