wpdb::__unset()publicWP 3.5.0

Makes private properties un-settable for backward compatibility.

Метод класса: 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() WP 6.1.1

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