WooCommerce Code Reference

WC_Shortcode_Cart

Shortcode cart class.

Table of Contents

calculate_shipping()  : mixed
Calculate shipping for the cart.
output()  : mixed
Output the cart shortcode.

Methods

output()

Output the cart shortcode.

public static output(array<string|int, mixed> $atts) : mixed
Parameters
$atts : array<string|int, mixed>

Shortcode attributes.

Return values
mixed