Tag: userrole

  • if Affiliate Partner is logged in

    Hey! I want to show an affilitate link in sidebar if affiliate partner is logged in. This is my code: if( is_user_logged_in() && (current_user_can(‘customer’)){ echo do_shortcode( ” ); } I can’t find in the documentation if the affiliate has a userrole or how to check if an affiliate partner ist logged in. Has anybody a…

Share