Last active
November 27, 2017 11:28
-
-
Save Nishadup/392e7f1b097d0b696756daad53f14e0c to your computer and use it in GitHub Desktop.
Change Estimated delivery time format in cart/checkout page with FedEx plugin. https://www.xadapter.com/product/woocommerce-fedex-shipping-plugin-with-print-label/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'wf_estimate_delivery_date_format', 'change_estimate_delivery_date_format', 15, 2 ); | |
function change_estimate_delivery_date_format($current_formate){ | |
return 'l, F jS Y'; // Give here desired format, This format gives output like Tuesday, September 13th 2017. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment