Forums › Forums › Web Design › WordPress › WordPress rest api change json response with custom endpoint
-
WordPress rest api change json response with custom endpoint
-
Hello, Im using wordpress rest api, at this moment i already created custom endpoints to recieve the data that i want, the problem is that wordpress returns a json full of data that i dont want, for example: im creating custom post types with custom fields and wordpress returns all things that i dont need like post title, post autor,date etc… how can i clean this fields and return just the data that i need? – by hq overview rezzpt – –
Viewing 1 of 1 replies