Summery Summery
Make private properties settable for backward compatibility.
Syntax Syntax
Parameters Parameters
- $name
-
(Required) Property to check if set.
- $value
-
(Required) Property value.
Return Return
(mixed) Newly-set property.
Source Source
File: wp-includes/class-wp-text-diff-renderer-table.php
public function __set( $name, $value ) { if ( in_array( $name, $this->compat_fields, true ) ) { return $this->$name = $value; } }
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.0.0 | Introduced. |