Advertisement
majeedraza

WooCommerce - Change order date format

Jul 20th, 2017
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.25 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement