Related Posts: Add the jetpack-related-posts field to WP REST API for any post type #10203
Labels
Customer Report
Issues or PRs that were reported via Happiness. Previously known as "Happiness Request".
[Feature] Related Posts
[Feature] WP REST API
[Pri] Low
[Type] Enhancement
Changes to an existing feature — removing, adding, or changing parts of it
Milestone
Currently, we're adding the
jetpack-related-posts
field to the WP REST API response of default posts only.Code reference:
jetpack/modules/related-posts/jetpack-related-posts.php
Lines 1526 to 1535 in f8078c2
Requests
rest_api_allowed_post_types
and automatically add thisjetpack-related-posts
field to JSON.Concern
I am not sure how this affects the current work to bring Gutenberg to Jetpack. It may be reviewed by someone working on Gutenberg for Related Posts (or Jetpack in general).
Other notes
This idea comes from the support request 1434937-zen
Private convo - p1537778474000100-slack-jpop-support
The text was updated successfully, but these errors were encountered: