how to get order time only
-
Hi i need to display the order time only in the invoice pdf
i found this code for Invoice Date and time:add_filter( ‘wpo_wcpdf_date_format’, ‘wpo_wcpdf_date_format’, 10, 2 );
function wpo_wcpdf_date_format( $date_format, $document ) {
return ‘d/m/Y, H:i:s’;
}Order Number:41494
Order Date:3 November 2020
Order Time:——— time only
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘how to get order time only’ is closed to new replies.