Clones an object.
Parameters
$input_object
objectrequired- The object to clone.
Source
function wp_clone( $input_object ) {
// Use parens for clone to accommodate PHP 4. See #17880.
return clone( $input_object );
}
This function has been deprecated.
Clones an object.
$input_object
objectrequiredfunction wp_clone( $input_object ) {
// Use parens for clone to accommodate PHP 4. See #17880.
return clone( $input_object );
}
User Contributed Notes
You must log in before being able to contribute a note or feedback.