_relocate_children()
Deprecated since 3.9.0. It is no longer supported and may 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.
Internal function — this function is designed to be used by the kernel itself. It is not recommended to use this function in your code.
No Hooks.
Returns
null. Nothing (null).
Usage
_relocate_children( $old_ID, $new_ID );
- $old_ID(int) (required)
- .
- $new_ID(int) (required)
- .
Changelog
| Since 2.3.0 | Introduced. |
| Deprecated since | 3.9.0 |
_relocate_children() relocate children code WP 7.0
function _relocate_children( $old_ID, $new_ID ) {
_deprecated_function( __FUNCTION__, '3.9.0' );
}