Yoast\WP\Lib
Model::is_dirty
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 26.7
public function is_dirty( $property ) {
return $this->orm->is_dirty( $property );
}