WC_Checkout::check_cart_items()publicWC 1.0

When we process the checkout, lets ensure cart items are rechecked to prevent checkout.

Method of the class: WC_Checkout{}

Hooks from the method


null. Nothing.


$WC_Checkout = new WC_Checkout();

WC_Checkout::check_cart_items() code WC 7.7.0

public function check_cart_items() {
	 * Provides an opportunity to check cart items before checkout. This generally occurs during checkout validation.
	 * @see WC_Checkout::validate_checkout()
	 * @since 3.0.0 or earlier
	do_action( 'woocommerce_check_cart_items' );