{"action":"created","issue":{"url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/issues/2955","labels_url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/issues/2955/labels{/name}","comments_url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/issues/2955/comments","events_url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/issues/2955/events","html_url":"https://github.com/easydigitaldownloads/Easy-Digital-Downloads/issues/2955","id":54070485,"number":2955,"title":"Introduce edd_item_supports() function","user":{"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},"labels":[{"url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/labels/Enhancement","name":"Enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/milestones/82","labels_url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/milestones/82/labels","id":832837,"number":82,"title":"2.4","description":null,"creator":{"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},"open_issues":63,"closed_issues":2,"state":"open","created_at":"2014-10-20T15:00:42Z","updated_at":"2015-02-21T21:39:15Z","due_on":null,"closed_at":null},"comments":20,"created_at":"2015-01-12T16:00:53Z","updated_at":"2015-02-22T23:56:54Z","closed_at":null,"body":"We should introduce an `edd_item_supports()` function that would allow developers to determine if a product supports various features.\r\n\r\nFor example:\r\n```php\r\nedd_item_supports( 'quantities' );\r\n```\r\n```php\r\nedd_item_supports( 'taxes' );\r\n```\r\n```php\r\nedd_item_supports( 'shipping' );\r\n```\r\nThis should be introduced as a method in the `EDD_Download` class that then has a global wrapper function."},"comment":{"url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/issues/comments/75473721","html_url":"https://github.com/easydigitaldownloads/Easy-Digital-Downloads/issues/2955#issuecomment-75473721","issue_url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/issues/2955","id":75473721,"user":{"login":"danieliser","id":847818,"avatar_url":"https://avatars.githubusercontent.com/u/847818?v=3","gravatar_id":"","url":"https://api.github.com/users/danieliser","html_url":"https://github.com/danieliser","followers_url":"https://api.github.com/users/danieliser/followers","following_url":"https://api.github.com/users/danieliser/following{/other_user}","gists_url":"https://api.github.com/users/danieliser/gists{/gist_id}","starred_url":"https://api.github.com/users/danieliser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danieliser/subscriptions","organizations_url":"https://api.github.com/users/danieliser/orgs","repos_url":"https://api.github.com/users/danieliser/repos","events_url":"https://api.github.com/users/danieliser/events{/privacy}","received_events_url":"https://api.github.com/users/danieliser/received_events","type":"User","site_admin":false},"created_at":"2015-02-22T23:56:54Z","updated_at":"2015-02-22T23:56:54Z","body":"PR submitted."}}