Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Give Editors Access to Gravity Forms
- // Source: http://highedwebtech.com/2011/12/16/wordpress-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');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement