WordPress at Your Fingertips
function is not described

WP_Text_Diff_Renderer_Table::__set() public WP 4.0.0

Make private properties settable for backward compatibility.

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

No Hooks.

Return

Mixed. Newly-set property.

Usage

$WP_Text_Diff_Renderer_Table = new WP_Text_Diff_Renderer_Table();
$WP_Text_Diff_Renderer_Table->__set( $name, $value );
$name(string) (required)
Property to check if set.
$value(mixed) (required)
Property value.

Changelog

Since 4.0.0 Introduced.

Code of WP_Text_Diff_Renderer_Table::__set() WP 5.8

<?php
public function __set( $name, $value ) {
	if ( in_array( $name, $this->compat_fields, true ) ) {
		return $this->$name = $value;
	}
}