Changing date format used for “_wcpdf_invoice_date_formatted” meta key

[ad_1]

Hi @jvkonfi,

You can try retrieving the invoice date timestamp, and passing it through the wp_date function, like this:

wp_date( 'm/d/Y', $order->get_meta( '_wcpdf_invoice_date' ) );

Hope it helps!

Thank you for the answer!

Unfortunately, we cannot use PHP, we’re just retrieving the data into another plugin field using the meta key and can’t add our own code.

So I guess we are out of luck?

Thanks,
Julien

What plugin are you using to export the orders?

We are using Advanced Order Export for Woocommerce Pro.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer