WordPress at a glance
функция не описана

wpdb::__set() public WP 3.5.0

Makes private properties settable for backward compatibility.

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

Хуков нет.

Возвращает

Null. Ничего.

Использование

$wpdb = new 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.

Код wpdb::__set() WP 5.5.1

<?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;
}