Created
March 26, 2012 22:04
-
-
Save tiltos/2210113 to your computer and use it in GitHub Desktop.
WP: Gravity Forms access for Editors
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
<?php | |
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