is_plugin_inactive( string $plugin )
Check whether the plugin is inactive.
Description
Reverse of is_plugin_active(). Used as a callback.
See also
Parameters
- $plugin
-
(Required) Path to the main plugin file from plugins directory.
Return
(bool) True if inactive. False if active.
Source
File: wp-admin/includes/plugin.php
function is_plugin_inactive( $plugin ) {
return ! is_plugin_active( $plugin );
}
Changelog
Version | Description |
---|---|
WP-3.1.0 | Introduced. |