这曾经被用来将子帖子移动到新的父母。
原型
_relocate_children( int $old_ID, int $new_ID )
参数
$old_ID
(int)
(Required)
$new_ID
(int)
(Required)
源文件
路径:wp-admin/includes/deprecated.php
<?php
...
function _relocate_children( $old_ID, $new_ID ) {
_deprecated_function( __FUNCTION__, '3.9.0' );
}
...
?>
其他
英文文档:https://developer.wordpress.org/reference/functions/_relocate_children/