{"action":"opened","issue":{"url":"https://api.github.com/repos/stuttter/wp-multi-network/issues/68","repository_url":"https://api.github.com/repos/stuttter/wp-multi-network","labels_url":"https://api.github.com/repos/stuttter/wp-multi-network/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/stuttter/wp-multi-network/issues/68/comments","events_url":"https://api.github.com/repos/stuttter/wp-multi-network/issues/68/events","html_url":"https://github.com/stuttter/wp-multi-network/issues/68","id":150672943,"number":68,"title":"Allow short-circuit of `user_has_networks()` function","user":{"login":"felixarntz","id":3531426,"avatar_url":"https://avatars.githubusercontent.com/u/3531426?v=3","gravatar_id":"","url":"https://api.github.com/users/felixarntz","html_url":"https://github.com/felixarntz","followers_url":"https://api.github.com/users/felixarntz/followers","following_url":"https://api.github.com/users/felixarntz/following{/other_user}","gists_url":"https://api.github.com/users/felixarntz/gists{/gist_id}","starred_url":"https://api.github.com/users/felixarntz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixarntz/subscriptions","organizations_url":"https://api.github.com/users/felixarntz/orgs","repos_url":"https://api.github.com/users/felixarntz/repos","events_url":"https://api.github.com/users/felixarntz/events{/privacy}","received_events_url":"https://api.github.com/users/felixarntz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-24T15:30:12Z","updated_at":"2016-04-24T15:30:12Z","closed_at":null,"body":"It would be useful to allow short-circuit of the `user_has_networks()` function, for example through an additional filter.\r\n\r\nI regularly specify my super admins (global vs per network) through the WordPress `$super_admins` variable (I configure the entire network through custom constants in `wp-config.php`, and I'd like these constants to determine who is super admin in a network and who isn't). Of course I could use the existing `networks_user_is_network_admin` filter to address this, but the function would then still make a redundant database request."}}