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. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_rest_global_styles_revisions_controller/get_parent