Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / includes/wc-formatting-functions.php / Page 7

wc_format_localized_price()

Function: Format a price with WC Currency Locale settings.

Source: includes/wc-formatting-functions.php:343

Used by 9 functions | Uses 1 function

wc_format_localized_decimal()

Function: Format a decimal with PHP Locale settings.

Source: includes/wc-formatting-functions.php:353

Used by 3 functions | Uses 0 functions

wc_legacy_round_half_down()

Function: Round half down in PHP 5.2.

Source: includes/wc-formatting-functions.php:251

Used by 2 functions | Uses 2 functions

wc_format_refund_total()

Function: Make a refund total negative.

Source: includes/wc-formatting-functions.php:274

Used by 2 functions | Uses 0 functions

wc_get_weight()

Function: Normalise weights, unify to kg then convert to wanted unit value.

Source: includes/wc-formatting-functions.php:173

Used by 2 functions | Uses 0 functions

wc_trim_zeros()

Function: Trim trailing zeros off prices.

Source: includes/wc-formatting-functions.php:218

Used by 2 functions | Uses 1 function

wc_round_tax_total()

Function: Round a tax amount.

Source: includes/wc-formatting-functions.php:229

Used by 12 functions | Uses 4 functions

wc_string_to_bool()

Function: Converts a string (e.g. ‘yes’ or ‘no’) to a bool.

Source: includes/wc-formatting-functions.php:22

Used by 44 functions | Uses 0 functions

wc_bool_to_string()

Function: Converts a bool to a ‘yes’ or ‘no’.

Source: includes/wc-formatting-functions.php:33

Used by 11 functions | Uses 1 function

wc_string_to_array()

Function: Explode a string into an array by $delimiter and remove empty values.

Source: includes/wc-formatting-functions.php:48

Used by 1 function | Uses 0 functions
« Previous 1 … 6 7 8 Next »
Proudly powered by WordPress