{"action":"created","issue":{"url":"https://api.github.com/repos/TGMPA/TGM-Plugin-Activation/issues/439","labels_url":"https://api.github.com/repos/TGMPA/TGM-Plugin-Activation/issues/439/labels{/name}","comments_url":"https://api.github.com/repos/TGMPA/TGM-Plugin-Activation/issues/439/comments","events_url":"https://api.github.com/repos/TGMPA/TGM-Plugin-Activation/issues/439/events","html_url":"https://github.com/TGMPA/TGM-Plugin-Activation/issues/439","id":92203857,"number":439,"title":"Add hooks and filters","user":{"login":"sccr410","id":1054431,"avatar_url":"https://avatars.githubusercontent.com/u/1054431?v=3","gravatar_id":"","url":"https://api.github.com/users/sccr410","html_url":"https://github.com/sccr410","followers_url":"https://api.github.com/users/sccr410/followers","following_url":"https://api.github.com/users/sccr410/following{/other_user}","gists_url":"https://api.github.com/users/sccr410/gists{/gist_id}","starred_url":"https://api.github.com/users/sccr410/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sccr410/subscriptions","organizations_url":"https://api.github.com/users/sccr410/orgs","repos_url":"https://api.github.com/users/sccr410/repos","events_url":"https://api.github.com/users/sccr410/events{/privacy}","received_events_url":"https://api.github.com/users/sccr410/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-30T21:22:47Z","updated_at":"2015-07-01T00:23:05Z","closed_at":null,"body":"I am trying to use TGM to manage paid add-on plugins for my free plugin. Users pay and get a single license key. When they enter their license key, TGM becomes available to them.\r\n\r\nWhen a user activates, I want to run a license check. It would be much easier if there were hooks that ran for the single/bulk install/activate processes."},"comment":{"url":"https://api.github.com/repos/TGMPA/TGM-Plugin-Activation/issues/comments/117377682","html_url":"https://github.com/TGMPA/TGM-Plugin-Activation/issues/439#issuecomment-117377682","issue_url":"https://api.github.com/repos/TGMPA/TGM-Plugin-Activation/issues/439","id":117377682,"user":{"login":"jrfnl","id":663378,"avatar_url":"https://avatars.githubusercontent.com/u/663378?v=3","gravatar_id":"","url":"https://api.github.com/users/jrfnl","html_url":"https://github.com/jrfnl","followers_url":"https://api.github.com/users/jrfnl/followers","following_url":"https://api.github.com/users/jrfnl/following{/other_user}","gists_url":"https://api.github.com/users/jrfnl/gists{/gist_id}","starred_url":"https://api.github.com/users/jrfnl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrfnl/subscriptions","organizations_url":"https://api.github.com/users/jrfnl/orgs","repos_url":"https://api.github.com/users/jrfnl/repos","events_url":"https://api.github.com/users/jrfnl/events{/privacy}","received_events_url":"https://api.github.com/users/jrfnl/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T00:23:05Z","updated_at":"2015-07-01T00:23:05Z","body":"@sccr410 \r\n\r\n> When they enter their license key, TGM becomes available to them.\r\n\r\nSorry, but that's not what TGMPA is for. TGMPA can be used by several themes and plugins simultaneously and one plugin blocking access to TGMPA for others is not a desirable situation.\r\n\r\n> When a user activates, I want to run a license check.\r\n\r\nTGMPA uses the core activation functions for activation, so you can use the WP core hooks to do this."}}