Yoast\WP\Lib
ORM::force_all_dirty
Forces the ORM to flag all the fields in the $data array as "dirty" and therefore update them when save() is called.
Метод класса: ORM{}
Хуков нет.
Возвращает
ORM.
Использование
$ORM = new ORM(); $ORM->force_all_dirty();
Код ORM::force_all_dirty() ORM::force all dirty Yoast 26.3
public function force_all_dirty() {
$this->dirty_fields = $this->data;
return $this;
}