Use instance of checks for detecting WCProduct
[MAILPOET-2586]
This commit is contained in:
committed by
Jack Kitterhing
parent
73e9cc3517
commit
d3ce76f88d
@@ -231,6 +231,10 @@ if (!function_exists('WC')) {
|
||||
function WC() {
|
||||
return new WooCommerce;
|
||||
}
|
||||
class WC_Order_Item_Product { // phpcs:ignore
|
||||
function get_product_id() { // phpcs:ignore
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
include '_fixtures.php';
|
||||
|
Reference in New Issue
Block a user