WCML_Checkout_Addons

Description of wc_checkout_addons.

Defined (1)

The class is defined in the following location(s).

/compatibility/class-wcml-checkout-addons.php  
  1. class WCML_Checkout_Addons { 
  2. public function __construct() { 
  3. add_filter( 'wc_checkout_add_ons_options', array( $this, 'wc_checkout_add_ons_options_wpml_multi_currency_support' ) ); 
  4.  
  5. public function wc_checkout_add_ons_options_wpml_multi_currency_support( $options ) { 
  6.  
  7. foreach ( $options as $i => $option ) { 
  8. $options[ $i ]['cost'] = apply_filters( 'wcml_raw_price_amount', $options[ $i ]['cost'] ); 
  9.  
  10. return $options; 
  11. }