Gets the parent post, if the ID is valid.
Description
Duplicate of WP_REST_Revisions_Controller::get_parent() .
Parameters
$parent_post_idintrequired- 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_idintrequired| Version | Description |
|---|---|
| 6.3.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.