This function has been deprecated.
wp_clone( object $object )
Copy an object.
Description
Parameters
- $object
-
(object) (Required) The object to clone.
Return
(object) The cloned object.
Source
File: wp-includes/load.php
function wp_clone( $object ) { // Use parens for clone to accommodate PHP 4. See #17880 return clone( $object ); }
Changelog
Version | Description |
---|---|
3.2.0 | This function has been deprecated. |
2.7.0 | Introduced. |