Skip to content

How to Allow Editors to Edit Gravity Forms

Gravity Forms is a premium WordPress plugin that allows sites to create custom forms to receive better feedback from their customers. By default only WordPress Admins have access to this plugin. That’s not practical when there are multiple editor accounts using the site.

In order to give editors access the following code will need to be added to the sites functions.php file. Using a child theme is ideal but not required for this step to work.

					

[php]/* 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’ );

[/php]