View Product Page

Codex

Thanks to the “ywrr_custom_date_format” filter, it’s possible to edit the date format shown in the email.
Here is an example of how to use this filter correctly.


add_filter('ywrr_custom_date_format', 'ywrr_custom_date_format');
function ywrr_custom_date_format(){
/**
* Formatting references
*
* Y = YEAR
* m = month
* d = day
* H = hour
* i = minutes
* s = seconds
*
* As a separator you can use any symbol
*/
return 'Y-m-d H:i:s';
}