Skip to content

Instantly share code, notes, and snippets.

@scottnath
Created November 2, 2012 18:30
Show Gist options
  • Save scottnath/4003391 to your computer and use it in GitHub Desktop.
Save scottnath/4003391 to your computer and use it in GitHub Desktop.
wordpress & gravity forms: Giving Editors Access to Gravity Forms
//Giving Editors Access to Gravity Forms
function add_grav_forms(){
$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