Summery Summery
Make private properties un-settable for backward compatibility.
Syntax Syntax
Parameters Parameters
- $name
-
(Required) Property to unset.
Source Source
File: wp-includes/class-wp-text-diff-renderer-table.php
public function __unset( $name ) {
if ( in_array( $name, $this->compat_fields, true ) ) {
unset( $this->$name );
}
}
Advertisement
Changelog Changelog
| Version | Description |
|---|---|
| 4.0.0 | Introduced. |