daily pastebin goal
78%
SHARE
TWEET

WooCommerce - Change order date format

lorro Jul 20th, 2017 (edited) 57 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
Top