Advertisement
majeedraza

WooCommerce - Show order time on admin order list

Apr 26th, 2020
527
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.23 KB | None | 0 0
  1. <?php
  2.   // WooCommerce - Show order time on admin order list
  3.   add_filter( 'woocommerce_admin_order_date_format', 'custom_order_date_format', 99 );
  4.   function custom_order_date_format( $format ) {
  5.     return $format.' H:i:s';
  6.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement