Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Gravity Forms Access to Editors
function add_grav_forms(){
$role_object = get_role( 'editor' );
$role_object->add_cap( 'edit_theme_options' );
$role = get_role('editor');
$role->add_cap('gform_full_access');
}
add_action('admin_init','add_grav_forms');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment