WC_Shortcodes::cart()

Cart page shortcode.


Description Description


Return Return

(string)


Top ↑

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' ) );
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.