wpdb::__isset()publicWP 3.5.0

Makes private properties check-able for backward compatibility.

Method of the class: wpdb{}

No Hooks.

Return

true|false. If the member is set or not.

Usage

global $wpdb;
$wpdb->__isset( $name );
$name(string) (required)
The private member to check.

Changelog

Since 3.5.0 Introduced.

wpdb::__isset() code WP 6.6.2

public function __isset( $name ) {
	return isset( $this->$name );
}