slicewp_is_user_affiliate()

Description

Checks to see if a user is also also registered as an affiliate.

Parameters

slicewp_is_user_affiliate( $user_id = 0 );
  • $user_id (int)(optional) The ID of the user you wish to check. Defaults to the current logged in user.

Return

(bool) True, if the user is registered as an affiliate, false otherwise.

Was this article helpful?

Do you have any feedback or suggestions to improve this page?

Can't find what you're looking for? We're here to help.

Contact us