WC_Shortcodes::cart()
Cart page shortcode.
Description Description
Return Return
(string)
Source Source
File: includes/class-wc-shortcodes.php
public static function cart() { return is_null( WC()->cart ) ? '' : self::shortcode_wrapper( array( 'WC_Shortcode_Cart', 'output' ) ); }