more func of api/wp