Can I show affiliates permanent on each affiliate area front end?

Hello, I want to show the affiliates permanent on each affiliate area in front end. Is it possible?


Comments

5 responses to “Can I show affiliates permanent on each affiliate area front end?”

  1. Maybe we have not understood well. I would like to show affiliates their affiliates in the affiliate area.
    In practice I have to show to affiliates users their assigned customers as permanent affiliate. Otherwise you can not see who, how and when it was reported because it is not visible anywhere.

    1. Hi,
      the above code display who is the affiliate who referred me.
      This code should display a list with the users who I have referred.
      Kind Regards,
      Antonio B.

  2. Hello, yes I need to create a shortcode. Thank you.

    Best Regards,

    Giulio

    1. Hi,
      I hope this code can help you (you need to add it to your theme functions.php file).
      Kind Regards,
      Antonio B.

  3. Hi Giulio,
    The affiliate permanent is stored as user meta, so you can use something like this:
    $affiliate_id = get_user_meta( $user->ID, Affiliates_Permanent::REFERRER, true );
    If you need help to create a shortcode, please let me know.
    Kind Regards,
    Antonio B.

Share