Hi -
How can you do a simple role check within a plugin before echoing some
content to the screen?
I'm trying to do something like this:
if (current_user_can('edit_posts')) {
$var = 'sweet!';
}
But that isn't working at all. Any ideas?
Thanks,
Damian Taggart, President
Mindshare Studios, Inc.