WP_List_Table::__set()
Make private properties settable for backward compatibility.
Метод класса: WP_List_Table{}
Хуков нет.
Возвращает
Разное
. Newly-set property.
Использование
$WP_List_Table = new WP_List_Table(); $WP_List_Table->__set( $name, $value );
- $name(строка) (обязательный)
- Property to check if set.
- $value(разное) (обязательный)
- Property value.
Список изменений
С версии 4.0.0 | Введена. |
Код WP_List_Table::__set() WP List Table:: set WP 6.2.2
public function __set( $name, $value ) { if ( in_array( $name, $this->compat_fields, true ) ) { return $this->$name = $value; } }