wpdb::__unset() public WP 3.5.0
Makes private properties un-settable for backward compatibility.
{} It's a method of the class: wpdb{}
No Hooks.
Return
Null. Nothing.
Usage
global $wpdb; $wpdb->__unset( $name );
- $name(string) (required)
- The private member to unset
Changelog
Since 3.5.0 | Introduced. |
Code of wpdb::__unset() wpdb:: unset WP 5.6
public function __unset( $name ) {
unset( $this->$name );
}