No Comments - Mar 19, 2019

Just in case you wanted to learn this function get_currentuserinfo() here is the sample of a code.

<?php
global $current_user; // Use global
get_currentuserinfo(); // Make sure global is set, if not set it.
if ( user_can( $current_user, "subscriber" )){?>
   <a href="SUBSCRIBER">TRADE</a>
<?php }else if ( user_can( $current_user, "staff" )) {?>
   <a href="STAFF">TRADE</a>
<?php }else if ( user_can( $current_user, "trader" )){?>
   <a href="TRADER">TRADE</a>
<?php } else{?>
   <a href="TAE">TRADE</a>
<?php }?>

Please support the 2fxmedia.net by downloading the most secure browser called Brave Browser please click here to download the browser and install the browser.. Don’t forget to visit the 2fxmedia.net using brave browser and don’t forget to make a tip to 2fxmedia.net Cheers!

If you are happy with this post you can donate a bit coin for my site. Simply click the link below

1Eq3Gf1ZkNK7KN66eGArThYhEc81sfeWNH Donate BTC 1Eq3Gf1ZkNK7KN66eGArThYhEc81sfeWNH 1Eq3Gf1ZkNK7KN66eGArThYhEc81sfeWNH