php if … or …
-
Hello,
Please could someone tell me how to make it so I can have this:
<?php if (current_user_can('1')) { ?> or <?php if (current_user_can('2')) { ?> <?php } else { ?> Content if they can not do either of them. <?php } ?>Thanks,
Elliot
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘php if … or …’ is closed to new replies.