Warning: This function has been deprecated.
Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
_relocate_children() WordPress Function
The function _relocate_children() is used to move all child posts of a given parent post to a new parent post. This is useful when you want to change the parent of a post, or when you want to move all children of a post to another post.
_relocate_children( int $old_ID, int $new_ID ) #
This was once used to move child posts to a new parent.
Parameters
- $old_ID
(int)(Required)
- $new_ID
(int)(Required)
Source
File: wp-admin/includes/deprecated.php
function _relocate_children( $old_ID, $new_ID ) { _deprecated_function( __FUNCTION__, '3.9.0' ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.9.0 | This function has been deprecated. |
2.3.0 | Introduced. |