Affiliate ID Block

This block “mycred_affiliate_id” is used by the “Points for referrals” hook which allows your users to gain points for referring visitors and/or signups. This block will return the unique referral ID of the user who views the block. If the user is excluded from using myCred or the particular point type or if the block is viewed by a visitor this block will return an empty string.

Referral URL example :

The shortcode version of this block is mycred_affiliate_id

For more information please visit ShortCode Documentation