@DrumCreative you shouldn't have to use this code anymore. It is already supported natively.
The latest version of Gravity Forms integrates with Justin Tadlock's Members plugin which we highly recommend. It is a Role Management plugin that is available for free in the WordPress.org Repository.
You can download it here:
http://wordpress.org/extend/plugins/members/
If you install the Members role management plugin you can then manage roles and have full granular control over who can and can't access Gravity Forms.
See details here:
http://www.gravityhelp.com/gravity-forms-v1-2-released/
Look for the section titled "Role Management Integration" for a description and quick screencast video.
This role management integration requires the latest version of Gravity Forms (v1.2.1) which you can upgrade to via automatic upgrade or download it manually on the Download page.
Posted 15 years ago on Wednesday October 14, 2009 |
Permalink