Code-Snippets-Functions/Execute a function on a child site/WooCommerce/change-the-default-date-format.txt

5 lines
134 B
Text

add_filter( 'woocommerce_date_format', 'wc_woocommerce_date_format' );
function wc_woocommerce_date_format() {
return 'F d, Y';
}