WordPress at a glance
function is not described

wpdb::__set() public WP 3.5.0

Makes private properties settable for backward compatibility.

{} It's a method of the class: wpdb{}

No Hooks.

Return

Null. Nothing.

Usage

global $wpdb;
$wpdb->__set( $name, $value );
$name(string) (required)
The private member to set.
$value(mixed) (required)
The value to set.

Changelog

Since 3.5.0 Introduced.

Code of wpdb::__set() WP 5.6

<?php
public function __set( $name, $value ) {
	$protected_members = array(
		'col_meta',
		'table_charset',
		'check_current_query',
	);
	if ( in_array( $name, $protected_members, true ) ) {
		return;
	}
	$this->$name = $value;
}