/** * wcj_price_shortcode. */ private function wcj_price_shortcode($raw_price, $atts) { return wcj_price($atts['price_prefix'] . $raw_price, $this->the_order->get_order_currency(), $atts['hide_currency']); }
/** * wcj_price_shortcode. */ private function wcj_price_shortcode($raw_price, $atts) { return 'yes' === $atts['hide_if_zero'] && 0 == $raw_price ? '' : wcj_price($raw_price, $this->the_order->get_order_currency(), $atts['hide_currency']); }