WC_Order::has_cart_hash( string $cart_hash = '' )
See if order matches cart_hash.
Description Description
Parameters Parameters
- $cart_hash
-
(Optional) Cart hash.
Default value: ''
Return Return
(bool)
Source Source
File: includes/class-wc-order.php
public function has_cart_hash( $cart_hash = '' ) { return hash_equals( $this->get_cart_hash(), $cart_hash ); // @codingStandardsIgnoreLine }