Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Modify the WooCommerce order date column with time (date + time)
<?php
//https://woopress.hu/forumok/tema/rende/
function woocommerce_add_order_page_date_and_time($h_time)
{
return get_the_time(__('Y/m/d G:i', 'woocommerce'));
}
add_filter('woocommerce_admin_order_date_format', 'woocommerce_add_order_page_date_and_time');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.