How to add current user ID to the affiliate link
-
i have a outgoing affiliate links (it is a custom URL field), i want to append the current user id to that link, how to do this.
I have installed user shortcodes plugin and added that short code to the end of the affiliate link in that custom field
Like https://example.com/?affid=1234&sid=%5Bcurrentuser_id%5D
But when clicking on the link at front end it will going to that link not appending the current user id.
Anybody please help on this
- The topic ‘How to add current user ID to the affiliate link’ is closed to new replies.