Core Function
View Source on Trac ↗ is_plugin_active()
is_plugin_active( mixed $plugin ) Determines whether a plugin is active.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $plugin string | Path to the plugin file relative to the plugins directory. Required |
Return Value
(bool)
True, if in the active plugins list. False, not in the list.
Function Information
Since Version
2.5.0
Source File
wp-admin/includes/plugin.php
Advertisement