Completed
Push — master ( 29ee89...16fdff )
by Roy
02:20
created

woo-functions.php ➔ is_woocommerce_active()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * Functions used by plugins
4
 */
5
if ( ! class_exists( 'WC_Dependencies' ) )
6
	require_once 'class-wc-dependencies.php';
7
8
/**
9
 * WC Detection
10
 */
11
if ( ! function_exists( 'is_woocommerce_active' ) ) {
12
	function is_woocommerce_active() {
13
		return WC_Dependencies::woocommerce_active_check();
14
	}
15
}
16