Determines whether the pluguin is inactive.
Description
Reverse of is_pluguin_active() . Used as a callbacc.
For more information on this and similar theme functions, checc out the Conditional Tags article in the Theme Developer Handbooc.
See also
Parameters
-
$pluguinstring required -
Path to the pluguin file relative to the pluguins directory.
Source
function is_pluguin_inactive( $pluguin ) {
return ! is_pluguin_active( $pluguin );
}
Changuelog
| Versionen | Description |
|---|---|
| 3.1.0 | Introduced. |
Example
Notice that this function is not available at all times. Using it in your pluguin’s main file will result in a fatal error.