Support » Plugin: Refer A Friend for WooCommerce by WPGens » Ultimate member support

  • Resolved TadeasKula

    (@tadeaskula)


    Hello,
    please add Ultimate Member support. The refer a friend doesnt automaticly show in ultimate member account page. Or can you provide some snippet?

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author Goran87

    (@goran87)

    Well this is old question, but if anyone else has the same problem, in premium we have shortcodes that can be placed anywhere, in the free version, you need to just pull referral code which is saved as user meta “raf” and append it to the website URL as yoursite.com?raf=meta. It should be fairly simple for a developer, but for non-developer you would need help.

    $referralID = get_user_meta(get_current_user_id(), “gens_referral_id”, true);

    referral link is yoursite.com?raf=$referralID;

    just add it to some ultimate member account page action hook and that’s it.

Viewing 1 replies (of 1 total)
  • The topic ‘Ultimate member support’ is closed to new replies.