WordPress at Your Fingertips
function is not described

WC_Checkout::check_cart_items() public WC 1.0

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

{} It's a method of the class: WC_Checkout{}

Hooks from the method


null. Nothing.


$WC_Checkout = new WC_Checkout();

Code of WC_Checkout::check_cart_items() WC 5.9.0

public function check_cart_items() {
	do_action( 'woocommerce_check_cart_items' );