Gets the parent post, if the ID is valid.
Description
Duplicate of WP_REST_Revisions_Controller::get_parent.
Parameters
$parent_post_id
intrequired- Supplied ID.
Source
Changelog
Version | Description |
---|---|
6.3.0 | Introduced. |
Gets the parent post, if the ID is valid.
Duplicate of WP_REST_Revisions_Controller::get_parent.
$parent_post_id
intrequiredVersion | Description |
---|---|
6.3.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.