Reply To: how to add custom order status in Process cashback?2019-09-11T17:42:37+05:30

Home Forums Core how to add custom order status in Process cashback? Reply To: how to add custom order status in Process cashback?

Subrata Mal
Keymaster
Post count: 175

We have a filter for this. You can use woo_wallet_process_cashback_status to add custom order status like below code.

add_filter(‘woo_wallet_process_cashback_status’, ‘woo_wallet_process_cashback_status_callback’);

function woo_wallet_process_cashback_status_callback($status){
    $status['custom_status'] = 'Custom status';
    return $status;
}

In the function.php file.