wp_clone

Definition:
function wp_clone( $object ) {}

Copy an object.

Parameters

  • object $object: The object to clone

Return values

returns:cloned object

Source code

function wp_clone( $object ) {

	// Use parens for clone to accommodate PHP 4.  See #17880

	return clone( $object );

}

3479

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: