function wc2_crform( $float, $symbol_pre = true, $symbol_post = true, $seperator_flag = true ) { $price = esc_html( WC2_Funcs::get_currency( $float, $symbol_pre, $symbol_post, $seperator_flag ) ); $res = apply_filters( 'wc2_filter_crform', $price, $float ); return $res; }
function wc2_get_currency($amount, $symbol_pre = false, $symbol_post = false, $seperator_flag = true) { return WC2_Funcs::get_currency($amount, $symbol_pre, $symbol_post, $seperator_flag); }