Remove Single Quotes from json_encode data PHP

By |2014-07-14T15:51:09+00:00July 14th, 2014|Categories: PHP|

$thecart = str_replace("'", "", json_encode($woocommerce->cart->get_cart(), JSON_HEX_APOS));