Is there a way we can override the core “include” class files? e.g – class-wc-form-handler.php?
I want to override the function – update_cart_action() in a way that it should not return a message when the user removes an item from cart.
I tried to comment out the below line and it worked fine.
//wc_add_notice( $removed_notice );
But I do not want to update the core file. Instead I want to override and update.
Please help.