adding wp-json-api