add_action(‘init’, ‘remove_wallet_cashback_in_status_processing’);
function remove_wallet_cashback_in_status_processing() {
if (function_exists(‘woo_wallet’)) {
remove_action(‘woocommerce_order_status_processing’, array(woo_wallet()->wallet, ‘wallet_cashback’), 12);
}
}
the code does not work it behavior as same as old (it adds wallet amount in processing status )