Created
May 27, 2014 05:46
-
-
Save amdrew/98bec268c6576a55727b to your computer and use it in GitHub Desktop.
AffiliateWP - Check if the currently logged in WordPress user is an affiliate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Check if the currently logged in WordPress user is an affiliate | |
if ( affwp_is_affiliate() ) { | |
// Do something | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment