remove_tax_wccm

The WooCommerce Checkout Manager remove tax wccm function.

Description

remove_tax_wccm(); 

Usage

  1. if ( !function_exists( 'remove_tax_wccm' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-checkout-manager/includes/classes/main.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = remove_tax_wccm(); 
  7.  

Defined (1)

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

/includes/classes/main.php  
  1. function remove_tax_wccm() { 
  2.  
  3. $saved['wooccm_addamount453userf'] = $_POST['add_amount_faj']; 
  4. $saved['wooccm_tax_save_method'] = $_POST['tax_remove_aj']; 
  5. $saved['wooccm_addamount453user'] = $_POST['add_amount_aj']; 
  6.  
  7. WC()->session->set('wooccm_retain', $saved ); 
  8.  
  9. die();