Skip to content

Instantly share code, notes, and snippets.

View hxii's full-sized avatar
🛠️
Coming up with more things

Paul (hxii) Glushak hxii

🛠️
Coming up with more things
View GitHub Profile
@hxii
hxii / hxii-woo-date.php
Created May 29, 2018 09:18
Yotpo WooCommerce Date Fix
// Use
$data['order_date'] = date('Y-m-d H:i:s', strtotime($order->get_date_created()));
// instead of
$data['order_date'] = $order->get_date_created();