wpdb::__get()
Makes private properties readable for backward compatibility.
Method of the class: wpdb{}
No Hooks.
Return
Mixed
. The private member.
Usage
global $wpdb; $wpdb->__get( $name );
- $name(string) (required)
- The private member to get, and optionally process.
Changelog
Since 3.5.0 | Introduced. |
wpdb::__get() wpdb:: get code WP 6.4.3
public function __get( $name ) { if ( 'col_info' === $name ) { $this->load_col_info(); } return $this->$name; }