wc_date_format()
WooCommerce Date Format - Allows to change date format for everything WooCommerce.
Hooks from the function
Returns
String.
Usage
wc_date_format();
wc_date_format() wc date format code WC 10.5.0
function wc_date_format() {
$date_format = get_option( 'date_format' );
if ( empty( $date_format ) ) {
// Return default date format if the option is empty.
$date_format = 'F j, Y';
}
return apply_filters( 'woocommerce_date_format', $date_format );
}