wp_clone

Advertisement

Deprecated Deprecated

This function has been deprecated.

Summery Summery

Copy an object.

Syntax Syntax

wp_clone( object $object )

Parameters Parameters

$object

(Required) The object to clone.

Return Return

(object) The cloned object.

Source Source

File: wp-includes/load.php

/**
 * Add magic quotes to `$_GET`, `$_POST`, `$_COOKIE`, and `$_SERVER`.
 *

Advertisement

Changelog Changelog

Changelog
Version Description
3.2.0 This function has been deprecated.
2.7.0 Introduced.

Advertisement

Leave a Reply