Changing Decimal places in Event Tickets plugin

This solution is for the WordPress plugin called Event Tickets.

Simply add these codes in your functions.php

add_filter( 'tribe_format_amount_decimals', 'change_decimal_places' );
function change_decimal_places() {
	return 0; // all amounts will return as a whole number
}

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.