Show Forms only to a role
-
Hey there
thank you for this fantastic plugin.
My question:
I try to display a specific form only to a specific role. I used this:
—————–
<?php if( current_user_can(‘activate_plugins’) ) { ?>
[bf form_slug=”publish-test”]
<?php } ?>
—————–
but I am not a pro. The form still shows up regardless of the user role. Can someone help to tweek this ?Regards
Dee
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Show Forms only to a role’ is closed to new replies.