CartController::get_cart_item_errors()

Validate all items in the cart and get a list of errors.


Description Description


Return Return

(WP_Error[]) An array of WP_Errors describing the cart's error state.


Top ↑

Source Source

File: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.