WordPress开发者和主题制作者的搜索引擎



wp_clone ›

Since2.7.0
已弃用3.2.0
wp_clone ( $object )
参数:
  • (object) $object The object to clone.
    Required: Yes
返回:
  • (object) The cloned object.
定义在:
文档:

Copy an object.



源码

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