wp_clone

Advertisement

Deprecated Deprecated

This function has been deprecated.

Summery Summery

Copy an object.

Syntax Syntax

wp_clone( object $object )

Parameters Parameters

$object

(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

This site uses Akismet to reduce spam. Learn how your comment data is processed.