woocommerce_mini_cart()
Output the Mini-cart - used by cart widget.
Uses: wc_get_template()
No Hooks.
Return
null
. Nothing.
Usage
woocommerce_mini_cart( $args );
- $args(array)
- Arguments.
Default: array()
Code of woocommerce_mini_cart() woocommerce mini cart WC 6.5.1
function woocommerce_mini_cart( $args = array() ) { $defaults = array( 'list_class' => '', ); $args = wp_parse_args( $args, $defaults ); wc_get_template( 'cart/mini-cart.php', $args ); }