wc_clean()

Function: Clean variables using sanitize_text_field. Arrays are cleaned recursively.

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

Used by 218 functions | Uses 0 functions

wc_float_to_string()

Function: Convert a float to a string without locale formatting which PHP adds when changing floats to strings.

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

Used by 4 functions | Uses 0 functions