private is_plugins_page ( ) : boolean | ||
return | boolean | Whether or not this is the plugins page in the (Network) Admin. |
private function is_plugins_page()
{
if (defined('DOING_AJAX') && DOING_AJAX) {
return false;
}
if (!is_admin()) {
return false;
}
return 'plugins.php' === $GLOBALS['pagenow'];
}