Yoast\WP\Lib
Model::is_new() public Yoast 1.0
Check whether the model was the result of a call to create() or not.
{} Это метод класса: Model{}
Хуков нет.
Возвращает
true/false. True when is new.
Использование
$Model = new Model(); $Model->is_new();
Код Model::is_new() Model::is new Yoast 15.9
public function is_new() {
return $this->orm->is_new();
}