wpdb::__set( string $name, mixed $value )

Makes private properties settable for backward compatibility.

Description Description

Parameters Parameters


(string) (Required) The private member to set


(mixed) (Required) The value to set

Top ↑

Source Source

File: wp-includes/wp-db.php

	public function __set( $name, $value ) {
		$protected_members = array(
		if (  in_array( $name, $protected_members, true ) ) {
		$this->$name = $value;

Top ↑

Changelog Changelog

Version Description
3.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.