{"action":"closed","issue":{"url":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/570","labels_url":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/570/labels{/name}","comments_url":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/570/comments","events_url":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/570/events","html_url":"https://github.com/affiliatewp/AffiliateWP/issues/570","id":60769300,"number":570,"title":"Add helper function for affiliate ID","user":{"login":"sumobi","id":52581,"avatar_url":"https://avatars.githubusercontent.com/u/52581?v=3","gravatar_id":"","url":"https://api.github.com/users/sumobi","html_url":"https://github.com/sumobi","followers_url":"https://api.github.com/users/sumobi/followers","following_url":"https://api.github.com/users/sumobi/following{/other_user}","gists_url":"https://api.github.com/users/sumobi/gists{/gist_id}","starred_url":"https://api.github.com/users/sumobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumobi/subscriptions","organizations_url":"https://api.github.com/users/sumobi/orgs","repos_url":"https://api.github.com/users/sumobi/repos","events_url":"https://api.github.com/users/sumobi/events{/privacy}","received_events_url":"https://api.github.com/users/sumobi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/affiliatewp/AffiliateWP/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"pippinsplugins","id":1034109,"avatar_url":"https://avatars.githubusercontent.com/u/1034109?v=3","gravatar_id":"","url":"https://api.github.com/users/pippinsplugins","html_url":"https://github.com/pippinsplugins","followers_url":"https://api.github.com/users/pippinsplugins/followers","following_url":"https://api.github.com/users/pippinsplugins/following{/other_user}","gists_url":"https://api.github.com/users/pippinsplugins/gists{/gist_id}","starred_url":"https://api.github.com/users/pippinsplugins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pippinsplugins/subscriptions","organizations_url":"https://api.github.com/users/pippinsplugins/orgs","repos_url":"https://api.github.com/users/pippinsplugins/repos","events_url":"https://api.github.com/users/pippinsplugins/events{/privacy}","received_events_url":"https://api.github.com/users/pippinsplugins/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/affiliatewp/AffiliateWP/milestones/35","html_url":"https://github.com/affiliatewp/AffiliateWP/milestones/1.5.6","labels_url":"https://api.github.com/repos/affiliatewp/AffiliateWP/milestones/35/labels","id":1017627,"number":35,"title":"1.5.6","description":null,"creator":{"login":"sumobi","id":52581,"avatar_url":"https://avatars.githubusercontent.com/u/52581?v=3","gravatar_id":"","url":"https://api.github.com/users/sumobi","html_url":"https://github.com/sumobi","followers_url":"https://api.github.com/users/sumobi/followers","following_url":"https://api.github.com/users/sumobi/following{/other_user}","gists_url":"https://api.github.com/users/sumobi/gists{/gist_id}","starred_url":"https://api.github.com/users/sumobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumobi/subscriptions","organizations_url":"https://api.github.com/users/sumobi/orgs","repos_url":"https://api.github.com/users/sumobi/repos","events_url":"https://api.github.com/users/sumobi/events{/privacy}","received_events_url":"https://api.github.com/users/sumobi/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"open","created_at":"2015-03-12T03:05:44Z","updated_at":"2015-03-15T01:22:41Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-03-12T04:21:00Z","updated_at":"2015-03-15T01:22:41Z","closed_at":"2015-03-15T01:22:41Z","body":"The base integration class needs a helper function for retrieving the affiliate ID with a filter on it. The function needs to be used just before pending referrals are created so extensions can properly hook in and change the ID."}}