I used to use the below code to alter the admin orders view formatting of the order date column. Since WooCommerce 3.0, it stopped working. Any ideas?

// Woocommerce show time on order
add_filter('post_date_column_time', 'custom_post_date_column_time', 10, 2);
function custom_post_date_column_time($h_time, $post)
{
    return get_the_time(__('Y/m/d g:i:s A', 'woocommerce'), $post);
}

Read more here: WooCommerce 3.0 change admin order date column format


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: