Yoast\WP\Lib
Model::is_dirty() public Yoast 1.0
Check whether the given property has changed since the object was created or saved.
{} Это метод класса: Model{}
Хуков нет.
Возвращает
true|false
. True when field is changed.
Использование
$Model = new Model(); $Model->is_dirty( $property );
- $property(строка) (обязательный)
- The property to check.
Код Model::is_dirty() Model::is dirty Yoast 16.1.1
public function is_dirty( $property ) {
return $this->orm->is_dirty( $property );
}