Created
November 2, 2012 18:30
-
-
Save scottnath/4003391 to your computer and use it in GitHub Desktop.
wordpress & gravity forms: Giving Editors Access to Gravity Forms
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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