Tribe__Tickets__Commerce__Currency::get_currency_number_of_decimals()
Get the Default Amount of Decimals.
Return
(int) The amount of decimals.
Source
File: src/Tribe/Commerce/Currency.php
public function get_currency_number_of_decimals() {
/**
* Filter the Amount of Decimals.
*
* @since 4.11.0
*
* @param int The default number of decimals.
*/
$decimals = apply_filters( 'tribe_format_amount_decimals', 2 );
return $decimals;
}
Changelog
| Version | Description |
|---|---|
| 4.11.0 | Introduced. |