wpdb::__unset()publicWP 3.5.0

Makes private properties un-settable for backward compatibility.

Method of the class: wpdb{}

No Hooks.

Return

null. Nothing (null).

Usage

global $wpdb;
$wpdb->__unset( $name );
$name(string) (required)
The private member to unset

Changelog

Since 3.5.0 Introduced.

wpdb::__unset() code WP 6.4.3

public function __unset( $name ) {
	unset( $this->$name );
}