WPDev.one
Core Function
View Source on Trac ↗

is_plugin_inactive()

is_plugin_inactive( mixed $plugin )

Determines whether the plugin is inactive.

Parameters 1 required

Name / Type Description
$plugin
string

Path to the plugin file relative to the plugins directory.

Required

Return Value

(bool)
True if inactive. False if active.

Function Information

Since Version
3.1.0
Source File
wp-admin/includes/plugin.php
Advertisement