WP Manifestindependent plugin directory
manifest / integrations / wp-api-add-post-parent

Add Post Parent to WP API

A WordPress plugin that adds access to view and edit post_parent to the `post` and `attachment` post types in the WP API

★ 6stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/csalzano/wp-api-add-post-parent/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Add a field parent to the /v2/posts and /v2/media routes of the WP API that allows users to view and edit the post_parent attribute of these post types.