WordPress at a glance
function is not described

is_plugin_inactive() WP 3.1.0

Determines whether the plugin is inactive.

Reverse of is_plugin_active(). Used as a callback.

For more information on this and similar theme functions, check out the Conditional Tags article in the Theme Developer Handbook.

  • See: is_plugin_active()

No Hooks.

Return

true/false. True if inactive. False if active.

Usage

is_plugin_inactive( $plugin );
$plugin(string) (required)
Path to the plugin file relative to the plugins directory.

Code of is plugin inactive: wp-admin/includes/plugin.php WP 5.2.1

<?php
function is_plugin_inactive( $plugin ) {
	return ! is_plugin_active( $plugin );
}