Render user’s affiliate ID.
Attributes:
- current_user – Show affiliate ID of the current logged in user. Accepts:
yes
,no
Default:yes
- user_id – Show affiliate ID of a specific user.
Example:
[gamipress_affiliate_id]
Example of use inline:
Your affiliate ID: [gamipress_affiliate_id]
Example of use on a link:
<a href="http://website.com/?ref=[gamipress_affiliate_id]">Refferral link</a>
Note: The “ref” URL parameter can be configured through the add-on settings.