get_currency() : false; $price = wmc_get_price( $price, $currency ); } return $price; } /** * Function to modify the value of the credit called * * @param mized $price The price. * @param array $args Additional arguments. * @return mized */ public function credit_called_price_cart( $price = 0, $args = array() ) { if ( function_exists( 'wmc_get_price' ) ) { $price = wmc_get_price( $price ); } return $price; } } } WC_SC_WMC_Compatibility::get_instance();