Skip to main content

i4w_has_referral_aff

Usage

This shortcode determines if the current (logged in) subscriber was referred to you through an affiliate. If so, the embedded content will be returned, up to the optional ELSE clause. If the subscriber is not an affiliate, the content after the ELSE clause will be returned.

[ELSE_has_referral_aff] conditional branching is supported.

Shortcode nesting is NOT supported.

Parameters

None

Example

Shortcode
[i4w_has_referral_aff]
You were referred to us through an affiliate.
[ELSE_has_referral_aff]
You came here all on your own...
[/i4w_has_referral_aff]