wpdb::__isset() WordPress Method
The wpdb::__isset() function is used to check if a given database table exists. This function is useful for making sure that a given table exists before performing any database operations on it.
wpdb::__isset( string $name ) #
Makes private properties check-able for backward compatibility.
Contents
Parameters
- $name
(string)(Required)The private member to check.
Return
(bool) If the member is set or not.
Source
File: wp-includes/wp-db.php
public function __isset( $name ) { return isset( $this->$name ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.5.0 | Introduced. |