Viewing 1 replies (of 1 total)
  • Plugin Author johnbhartley

    (@johnbhartley)

    You could wrap it in an if statement, so

    <?php if(is_user_logged_in()) {
     echo do_shortcode('[maxbutton id="1"]');
    } ?>

    That would only show the button for logged in users.

Viewing 1 replies (of 1 total)
  • The topic ‘Restrict buttons for certain users?’ is closed to new replies.