Add current user id to to_sendlink
-
I want to add the current user ID to the sendlink URL to help with a referral system on my site.
On Version 10.3 of the Send link to friend plugin I used the following in the send-mail.php file:
$to_message = $to_message . $_POST[‘sendlink’] . “?raf=” . $current_user->ID;Which seemed to work.
But I can’t get the same to work on the latest version of the plugin.Any ideas? thanks
- The topic ‘Add current user id to to_sendlink’ is closed to new replies.