WordPress at Your Fingertips
function is not described

_relocate_children() WP 2.3.0

Deprecated from version 3.9.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

This was once used to move child posts to a new parent.

This is an internal function for using it by WP core itself. It's not recommended to use this function in your code.

No Hooks.


null. Nothing.


_relocate_children( $old_ID, $new_ID );
$old_ID(int) (required)
$new_ID(int) (required)


Since 2.3.0 Introduced.
Deprecated 3.9.0

Code of _relocate_children() WP 5.8.2

function _relocate_children( $old_ID, $new_ID ) {
	_deprecated_function( __FUNCTION__, '3.9.0' );