Use instance of checks for detecting WCProduct
[MAILPOET-2586]
This commit is contained in:
committed by
Jack Kitterhing
parent
73e9cc3517
commit
d3ce76f88d
@ -64,3 +64,15 @@ class WC_DateTime extends \DateTime {
|
||||
*/
|
||||
class WC_Order { // phpcs:ignore
|
||||
}
|
||||
|
||||
/**
|
||||
* @method int get_product_id(string $context = 'view')
|
||||
*/
|
||||
class WC_Order_Item_Product { // phpcs:ignore
|
||||
}
|
||||
|
||||
/**
|
||||
* @method int[] get_category_ids(string $context = 'view')
|
||||
*/
|
||||
class WC_Product { // phpcs:ignore
|
||||
}
|
||||
|
Reference in New Issue
Block a user