Hi,
I’m using the all in one event calendar from time.ly.
I want to add a few fields to an event which are only visible to certain user roles (editors) who are logged in to the site.
Is this possible with ACF? How would I go about it?
Many thanks!
Rick
Answered my own question!
<?php
if ( is_user_logged_in() ) {
echo 'Welcome, registered user!';
} else {
echo 'Welcome, visitor!';
}
?>