wpdb::__get( string $name )
Makes private properties readable for backward compatibility.
Parameters
- $name
-
(Required) The private member to get, and optionally process.
Return
(mixed) The private member.
Source
File: wp-includes/class-wpdb.php
public function __get( $name ) {
if ( 'col_info' === $name )
$this->load_col_info();
return $this->$name;
}
Changelog
Version | Description |
---|---|
3.5.0 | Introduced. |