modified class/NPRAPIWordpress.php