function nzshpcrt_addcategory() { $nzshpcrt = new wp_shopping_cart(); $nzshpcrt->addcategory(); //$GLOBALS['nzshpcrt_activateshpcrt'] = true; }