WC_Shortcodes::cart
Cart page shortcode.
Method of the class: WC_Shortcodes{}
No Hooks.
Returns
String.
Usage
$result = WC_Shortcodes::cart();
WC_Shortcodes::cart() WC Shortcodes::cart code WC 10.6.2
public static function cart() {
return is_null( WC()->cart ) ? '' : self::shortcode_wrapper( array( 'WC_Shortcode_Cart', 'output' ) );
}