I think you could use WP-REST-API-Filter-Items plugin. With the plugin you can define a list of fields you want and you do not have to fiddle with WordPress or PHP
Related Posts:
- Show popular post in another php website via WP REST JSON API
- WP API returning SQL results as strings, rather than numbers
- Unset data in custom post type WordPress API (wp-json)
- WP REST API – Retrieve content from page
- Passing Meta array in wp-rest api
- Inserting custom post meta value using WP-REST API
- WP REST API. Configuring JSON routes
- return content section as json in wp rest api v1
- Can comments be used in JSON?
- Can comments be used in JSON?
- Angular: ‘Cannot find a differ supporting object ‘[object Object]’ of type ‘object’. NgFor only supports binding to Iterables such as Arrays’
- Use of PUT vs PATCH methods in REST API real life scenarios
- What is the easiest way to convert an Excel spreadsheet with tabular data to JSON? [closed]
- Can comments be used in JSON?
- Yahoo Finance All Currencies quote API Documentation
- Select objects based on value of variable in object using jq
- uncaught syntaxerror unexpected token U JSON
- What is the difference between YAML and JSON?
- How to install JQ on Mac on the command line?
- Representing null in JSON
- pretty-print JSON using JavaScript
- Fastest JSON reader/writer for C++
- Representing null in JSON
- Are multi-line strings allowed in JSON?
- Are multi-line strings allowed in JSON?
- Remove properties from objects (JavaScript)
- Python/Json:Expecting property name enclosed in double quotes
- How to remove the quotes when reading a variable in jq in shell?
- Why do i need `typings.json` file in an Angular 2 project?
- Basic example of using .ajax() with JSONP?
- Javascript Object push() function
- How do you represent a JSON array of strings?
- Using Wikipedia API on custom wikis like Bulbapedia
- How to import a JSON file in ECMAScript 6?
- UnicodeDecodeError: ‘utf8’ codec can’t decode byte 0x80 in position 3131: invalid start byte
- XSLT equivalent for JSON
- Is there a query language for JSON?
- An error occurred while installing json (1.8.1), and Bundler cannot continue – Rails
- JSON and escaping characters
- [npm notice created a lockfile as package-lock.json. You should commit this file
- Get WP Navigation Menu from REST API V2
- Sending JSON string through wp_remote_post()
- using wp_remote_get instead of file_get_contents [duplicate]
- What are the Oembed Links For?
- Implementing Isomorphic JavaScript (React JS) in WordPress?
- Get Image URL instead of Attachment Id in Rest API
- What is /wp-json?
- Import JSON feed to WordPress
- WP Rest API v2 filter and display latest post with specific tag
- WordPress Rest API: How do we validate with our custom API key?
- Include custom post meta value in fetched JSON
- How to loop through JSON data in wordpress WP REST API
- WP API V2 returning Invalid User ID
- Importing JSON feed should the content be sanitized?
- WordPress wp-json API – Custom Post Type returns 403
- Create filtered list of posts using JSON data
- wordpress API for android app
- WordPress JSON API returns normal site page in html. How do I get it to give me JSON?
- WordPress REST API “rest_authentication_errors” doesn’t work external queries?
- Create multiple posts with WP REST API at once
- Have WordPress generate a JSON of the content
- Mass importing json data into custom fields (postmeta)
- Adding JSON Structured Data to WordPress
- esc_attr() corrupts json values
- Hook before posting via JSON REST API
- How to display Unicode correctly?
- JSON API plugin, Get posts by category return no post
- Generate/save JSON or XML file from JSON script
- Cannot parse results from wp_remote_get
- WordPress Unexpected token < in JSON at position 0
- Update the values of a json file in wordpress [closed]
- Why is json_decode failing?
- JSON API not showing full content
- Strange “lea” prefix on wp-json
- Retrieving a JSON feed of my posts and displaying thumbnails
- uneven behaviour create a post in using json api with white spaces
- XML to Json code issue
- Import JSON feed into WordPress Post (wp_insert_post) every 24 hours
- wp-json how to fetch image link?
- Received Updateing failed. not a valid JSON response. linked with _locale=user
- Automatically import content to wordpress from a json file
- JSON api oembed youtube
- Problems getting values from response from wp_remote_post
- Wrong encoding of dynamic block properties problem
- WordPress API “code”:”rest_no_route” with Custom Route
- Add binary or json animation to wordpress site
- Run hook in functions.php from page link
- How can cookie/session authentication be used in wp-json fetch request?
- I can’t get those posts from the wordpress to ionic
- Pull Content from JSON file (Same Server)
- adding two json fields to post_content
- json API plugin not returning any post with get_category_posts
- Dynamic data table from external json feed
- Control character encode after using jquery autocomplete
- Create a file format (csv,json,etc) when save/update a Post
- Output JSON and no theme
- Get JSON from self hosted wordpress site
- WP REST API get all posts (or customs posts) for a React app
- How do i save this python code to text file.? [closed]
- Error /wp-json/wp/v2/posts/ [closed]