Add background job to track historical WooCommerce revenues

[MAILPOET-1857]
This commit is contained in:
Jan Jakeš
2019-06-05 13:11:35 +02:00
committed by M. Shull
parent a92a3de26d
commit 574f10b029
8 changed files with 102 additions and 4 deletions

View File

@@ -20,6 +20,14 @@ function wc_get_order($order = false) {
return false;
}
/**
* @param mixed[] $args
* @return WC_Order[]|int[]|\stdClass
*/
function wc_get_orders($args) {
return [];
}
function wc_price(float $price, array $args = []): string {
return '';
}