BlackIce Admin Date Column fix for WooCommerce

Created by: Dan

Rating:
Downloaded: 541 times

Adds the full time and date to the date column for those that find the ‘1 hour ago’ stupid.
This isn’t the best fix going, since the core function render_order_date_column in https://github.com/woocommerce/woocommerce/blob/a7d57a248ed03dac7bad119e71f83dd961f43cb3/includes/admin/list-tables/class-wc-admin-list-table-orders.php
does not (imo) implent a filter correctly. You can add a filter for the date column, BUT it’s only effective on the field for orders greater than 1 day.

This is a quick fix to add a full time and date alongside the ‘1 hour’ output without affecting it or duplicating the output on orders greater than 1 day.

Screenshots

    Categories

    Get New Themes & Resources