W3cubDocs

/WordPress

_relocate_children( int $old_ID, int $new_ID )

This function has been deprecated.

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.

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' );
}

Changelog

Version Description
3.9.0 This function has been deprecated.
2.3.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/_relocate_children