Astra_Builder_Header::header_woo_cart( string $device = 'desktop' )
Render WooCommerce Cart.
Description
Parameters
- $device
-
(string) (Optional) Either 'mobile' or 'desktop' option.
Default value: 'desktop'
Source
File: inc/builder/markup/class-astra-builder-header.php
public function header_woo_cart() { if ( class_exists( 'Astra_Woocommerce' ) ) { echo Astra_Woocommerce::get_instance()->woo_mini_cart_markup(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } }
Expand full source code Collapse full source code View on Trac