Need a unique gift idea?
A Pastebin account makes a great Christmas gift

WooCommerce - Change order date format

lorro Jul 20th, 2017 (edited) 59 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. <?php
  2. // WooCommerce - Change order date format
  3. add_filter( 'woocommerce_admin_order_date_format', 'custom_order_date_format' );
  4. function custom_order_date_format() {
  5.   return 'd/m/y H:i'; // otherwise uses the setting at Dashboard > Settings > General
  6. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand