WC_Shortcode_Cart
in package
Shortcode cart class.
Table of Contents
- calculate_shipping() : mixed
- Calculate shipping for the cart.
- output() : mixed
- Output the cart shortcode.
Methods
calculate_shipping()
Calculate shipping for the cart.
public
static calculate_shipping() : mixed
Tags
Return values
mixed —output()
Output the cart shortcode.
public
static output(array<string|int, mixed> $atts) : mixed
Parameters
- $atts : array<string|int, mixed>
-
Shortcode attributes.