title: How to get woocommerce cart products in custom plugin
body: <p>I am creating a plugin. i want to display woocommerce cart. I have tried <code>WC()-&gt;cart-&gt;get_cart()</code>
  But its display this error. <code>Fatal error: Call to undefined function WC()</code>.</p>