woocommerce_get_cart_contents, (array

woocommerce_get_cart_contents, (array

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

apply_filters('woocommerce_get_cart_contents, (array') is found 1 times:

  • /includes/class-wc-cart.php line 171
    	 * @since 3.2.0
    	 * @return array of cart items
    	 */
    	public function get_cart_contents() {
    		return apply_filters( 'woocommerce_get_cart_contents', (array) $this->cart_contents );
    	}
    
    	/**
    	 * Return items removed from the cart.
    	 *
    	 * @since 3.2.0