WordPress at Your Fingertips
function is not described

WC_Admin_Notices::is_plugin_active() protected WC 1.0

Wrapper for is_plugin_active.

{} It's a method of the class: WC_Admin_Notices{}

No Hooks.

Return

true|false.

Usage

$result = WC_Admin_Notices::is_plugin_active( $plugin );
$plugin(string) (required)
Plugin to check.

Code of WC_Admin_Notices::is_plugin_active() WC 5.9.0

protected static function is_plugin_active( $plugin ) {
	if ( ! function_exists( 'is_plugin_active' ) ) {
		include_once ABSPATH . 'wp-admin/includes/plugin.php';
	}
	return is_plugin_active( $plugin );
}