Yoast\WP\Lib

ORM::offsetUnset()publicYoast 1.0ReturnTypeWillChange

Removes the given key from the data.

Метод класса: ORM{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$ORM = new ORM();
$ORM->offsetUnset( $offset );
$offset(разное) (обязательный)
Key.

Код ORM::offsetUnset() Yoast 22.4

public function offsetUnset( $offset ) {
	unset( $this->data[ $offset ] );
	unset( $this->dirty_fields[ $offset ] );
}