dozent_wc_exists()
Check if WooCommerce plugin is activated
Description
Example usage:
$has_woocommerce = dozent_wc_exists();
See also
Return
(bool)
Source
File: includes/integration-functions.php
function dozent_wc_exists() { return dozent_is_plugin_active( 'woocommerce/woocommerce.php' ) || class_exists( 'WooCommerce' ); }
Changelog
Version | Description |
---|---|
DozentLMS 1.0.0 | Introduced. |