Hi,
If I want to show a message or add to a plugin a way that only admins can see that message/text, what should I do?
I am looking for just a simple example.
Rui
Hi,
If I want to show a message or add to a plugin a way that only admins can see that message/text, what should I do?
I am looking for just a simple example.
Rui
You're talking about in your theme, not the admin screens, right?
<?php if (current_user_can('level_10')){ ?>
<!-- html that only admins will see -->
<?php } ?>This topic has been closed to new replies.