Hello,
I use Affiliate Plugin on my Wordpress site and would like to pass the referrer ID into a hidden field.
The referrer ID can be retrieved from the affiliate plugin using the following line of code:
$referrer_id = $_COOKIE['ap_id'];
Please advise how I can pass this information programmatically into a hidden field?