is_plugin_inactive() – Determines whether the plugin is inactive.
You appear to be a bot. Output may be restricted
Description
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 {@link https://developer.wordpress.org/themes/basics/conditional-tags/ Conditional Tags} article in the Theme Developer Handbook.
Usage
$bool = is_plugin_inactive( $plugin );
Parameters
- $plugin
- ( string ) required – Path to the plugin file relative to the plugins directory.
Returns
bool True if inactive. False if active.
Source
File name: wordpress/wp-admin/includes/plugin.php
Lines:
1 to 3 of 3
function is_plugin_inactive( $plugin ) { return ! is_plugin_active( $plugin ); }