Hello,
I've got a custom WP role that have got a custom capability create_story
. I know that in the advanced settings there is an option to display form only if a user logged in.
How do I do the following:
1. Display the form only if a user has got my custom capability?
2. After a form submitted, before creating a post draft how do I check if a user has got my custom capability?
I'm sure these are possible, I would hugely appreciate if you could point me in the right directions with which hooks to use.
Many thanks, Dasha
WP: 3.5.1
Gravity Forms: 1.6.12