WordPress Affiliate Manager

Affiliates Management Plugin for WordPress

  • Home
  • Features
    • Screen Shots
  • Download
  • Documentation
  • Addons
  • Support
    • Support Forum
    • Forum Login
    • Forum Registration
    • Contact
    • Premium Addon/Plugin Support
You are here: Home

larute

  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • March 10, 2021 at 5:47 pm in reply to: Shortcodes #7227
    larute
    Participant

    Thank you. That is what I was looking for.

    March 9, 2021 at 4:46 pm in reply to: Shortcodes #7222
    larute
    Participant

    Ok, can you give me the php for returning the logged in user’s affiliate ID? Then I can create my own shortcode.

    Thank you!

    March 8, 2021 at 4:37 pm in reply to: Shortcodes #7216
    larute
    Participant

    Well, I can register my own shortcode, I just need to know how to reference the Affiliate ID. I saw somewhere that you guys were using wpam_id. Is that right. I just need to find out how to return the afffiliates ID.

    THank you!

    March 6, 2021 at 12:08 am in reply to: Shortcodes #7213
    larute
    Participant

    I’ve tried registering a shortcode like this:

    // Shortcode for User ID
    function nicely_userID_shortcode() {
    $nicelyUserID = $_COOKIE[‘wpam_id’];
    return $nicelyUserID;
    }
    // register shortcode
    add_shortcode(‘nicelyUserID’, ‘nicely_userID_shortcode’);

    But that doesn’t seem to do the trick.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)

Featured Addons

  • WooCommerce Coupon Tracking
  • WooCommerce Product Specific Commission

Copyright © 2026 | WordPress Affiliate Manager | Privacy Policy