Skip to content

Instantly share code, notes, and snippets.

Last active November 26, 2021 23:24
What would you like to do?
[General Snippets][Hide trailing zeros on prices]
* Trim zeros in price decimals
add_filter( 'woocommerce_price_trim_zeros', '__return_true' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment