PluginsHelper::is_plugin_active( string $plugin )
Checks if a plugin is active.
Description Description
Parameters Parameters
- $plugin
-
(Required) Path to the plugin file relative to the plugins directory or the plugin directory name.
Return Return
(bool)
Source Source
File: packages/woocommerce-admin/src/PluginsHelper.php