checkLocalPluginStatus()
checkLocalPluginStatus() : array
Looks for locally installed plugins and suggests additional ones.
Returns
array —Two-dimensional array whose keys are the plugin's status and values are the plugin slug to suggest.
Helper class.
hasMenuItem(string $item) : boolean
Whether or not a given menu item is available to site admins.
This is only useful for checking whether the plugins
menu item
exists at the moment because that's the only one that can be
toggled on a multisite network.
string | $item |