wpdb::__unset() WordPress Method
The wpdb::__unset() method is used to unset a property of the wpdb class.
wpdb::__unset( string $name ) #
Makes private properties un-settable for backward compatibility.
Contents
Parameters
- $name
(string)(Required)The private member to unset
Source
File: wp-includes/wp-db.php
public function __unset( $name ) {
unset( $this->$name );
}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description |
|---|---|
| 3.5.0 | Introduced. |