woocommerce_get_cart_contents

woocommerce_get_cart_contents

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_get_cart_contents') is found 1 times:

  • /includes/class-wc-cart.php line 144
    	 * @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