{"action":"created","issue":{"url":"https://api.github.com/repos/Yoast/License-Manager/issues/65","labels_url":"https://api.github.com/repos/Yoast/License-Manager/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/Yoast/License-Manager/issues/65/comments","events_url":"https://api.github.com/repos/Yoast/License-Manager/issues/65/events","html_url":"https://github.com/Yoast/License-Manager/issues/65","id":74987715,"number":65,"title":"Disable Notices in Specific Environment","user":{"login":"devinsays","id":431879,"avatar_url":"https://avatars.githubusercontent.com/u/431879?v=3","gravatar_id":"","url":"https://api.github.com/users/devinsays","html_url":"https://github.com/devinsays","followers_url":"https://api.github.com/users/devinsays/followers","following_url":"https://api.github.com/users/devinsays/following{/other_user}","gists_url":"https://api.github.com/users/devinsays/gists{/gist_id}","starred_url":"https://api.github.com/users/devinsays/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devinsays/subscriptions","organizations_url":"https://api.github.com/users/devinsays/orgs","repos_url":"https://api.github.com/users/devinsays/repos","events_url":"https://api.github.com/users/devinsays/events{/privacy}","received_events_url":"https://api.github.com/users/devinsays/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-10T19:43:16Z","updated_at":"2015-10-13T20:09:59Z","closed_at":null,"body":"I'm doing contract work with a company that has one paid license for WordPress SEO Premium. I'd like to suppress this notice for all the staging environments we work in:\r\n\r\n\"Warning! Your WordPress SEO Premium license is inactive which means you're missing out on updates and support! Activate your license or get a license here.\"\r\n\r\nIs it possible to access the Yoast_License_Manager class from a different plugin to do something like this?\r\n\r\n```\r\nremove_action( 'admin_notices', array( 'Yoast_License_Manager', 'display_admin_notices' ), 100 );\r\n```\r\n\r\nOr, perhaps there's a better way?"},"comment":{"url":"https://api.github.com/repos/Yoast/License-Manager/issues/comments/147838096","html_url":"https://github.com/Yoast/License-Manager/issues/65#issuecomment-147838096","issue_url":"https://api.github.com/repos/Yoast/License-Manager/issues/65","id":147838096,"user":{"login":"billerickson","id":685131,"avatar_url":"https://avatars.githubusercontent.com/u/685131?v=3","gravatar_id":"","url":"https://api.github.com/users/billerickson","html_url":"https://github.com/billerickson","followers_url":"https://api.github.com/users/billerickson/followers","following_url":"https://api.github.com/users/billerickson/following{/other_user}","gists_url":"https://api.github.com/users/billerickson/gists{/gist_id}","starred_url":"https://api.github.com/users/billerickson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billerickson/subscriptions","organizations_url":"https://api.github.com/users/billerickson/orgs","repos_url":"https://api.github.com/users/billerickson/repos","events_url":"https://api.github.com/users/billerickson/events{/privacy}","received_events_url":"https://api.github.com/users/billerickson/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T20:09:59Z","updated_at":"2015-10-13T20:09:59Z","body":"I keep running into this issue as well. With Jetpack and other plugins I can use a filter to indicate this is a development site and not receive notices. Would love the same for the Yoast plugins."}}