wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_clone › WordPress Function

Since2.7.0
Deprecated3.2.0
wp_clone ( $input_object )
Parameters:
  • (object) $input_object The object to clone.
    Required: Yes
Returns:
  • (object) The cloned object.
Defined at:
Codex:

Clones an object.



Source

function wp_clone( $input_object ) {
	// Use parens for clone to accommodate PHP 4. See #17880.
	return clone( $input_object );
}