id summary reporter owner description type status priority milestone component version severity resolution keywords cc focuses 39696 REST API: Filter which links get embedded when passing the ?_embed query parameter rheinardkorf TimothyBlynJacobs "When performing a REST API request and adding the '''?_embed''' query parameter the API attempts to embed all resources that is linked with '''embeddable''' set to true. In some cases we may need to only embed some resources, not all embeddable resources. I am requesting that the feature be added to allow the filtering of a resources when specifying the _embed parameter. Example: {{{ http:///wp-json/wp/v2/posts/48?_embed=author,wp:term }}} If implemented, the above request should only embed the Author and the Terms. (note that in this example : will be encoded to %3A) '''Starting point:''' This can be implemented on the WP_REST_Server class and is likely to effect the following methods: response_to_data, embed_links " enhancement closed normal 5.4 REST API 4.4 normal fixed has-patch has-unit-tests dev-feedback rest-api