Use WC functions to get short and full description in products widget

[MAILPOET-1843]
This commit is contained in:
Ján Mikláš
2019-04-02 12:56:26 +02:00
committed by Rostislav Wolný
parent 3f9da22500
commit b40e4bb28a
5 changed files with 20 additions and 4 deletions

View File

@@ -24,3 +24,6 @@ function wc_price(float $price, array $args = []): string {
return '';
}
function wc_get_product($the_product = false, $deprecated = array()) {
return null;
}