Find answers, ask questions, and connect with our
community around the world.

Forums Forums Web Design WordPress WordPress rest api change json response with custom endpoint

  • WordPress rest api change json response with custom endpoint

    updated 2 years, 4 months ago 0 Member · 1 Post
  • Deborah

    Member
    September 12, 2019 at 4:30 pm

    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
Reply to: Deborah
Your information:

Cancel
Original Post
0 of 0 posts June 2018
Now