public/wordpress/wp-content/plugins/wp-courseware/includes/functions/core.php
/**
 * Is E-commerce Integration Active?
 *
 * @since 4.4.5
 *
 * @return bool True if a e-commerce integration is active, false otherwise.
 */


@return bool True if a e-commerce integration is active, false otherwise.
@return bool True if a e - commerce integration is active false otherwise .
function wpcw_is_ecommerce_integration_active() {
	$ecommerce_integrations = wpcw_get_ecommerce_integrations();
	if ( ! function_exists( 'is_plugin_active' ) ) {
		include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
	}
	foreach ( $ecommerce_integrations as $plugin ) {
		if ( is_plugin_active( $plugin ) ) {
			return true;
		}
	}
	return false;
}
function wpcw_is_ecommerce_integration_active ( ) { $ ecommerce_integrations = wpcw_get_ecommerce_integrations ( ) ; if ( ! function_exists ( 'is_plugin_active' ) ) { include_once ( ABSPATH . 'wp-admin/includes/plugin.php' ) ; } foreach ( $ ecommerce_integrations as $ plugin ) { if ( is_plugin_active ( $ plugin ) ) { return true ; } } return false ; }
Is E-commerce Integration Active?
Is E - commerce Integration Active?