WooCommerce - Change order date format

lorro Jul 20th, 2017 (edited) 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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