Always fetch styles from WooCommerce [MAILPOET-2569]

This commit is contained in:
wxa
2019-12-12 15:09:03 +03:00
committed by wxa
parent 94f1ab0093
commit f9ec25213d
7 changed files with 46 additions and 6 deletions

View File

@@ -40,6 +40,10 @@ class Helper {
return wc_light_or_dark($color, $dark, $light);
}
function wcHexIsLight($color) {
return wc_hex_is_light($color);
}
function getOrdersCountCreatedBefore($date_time) {
global $wpdb;
$result = $wpdb->get_var( "