Yoast\WP\Lib

ORM::is_new │ public │ Yoast 1.0

Checks whether the model was the result of a call to create() or not.

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

Хуков нет.

Возвращает

bool.

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

$ORM = new ORM();
$ORM->is_new();

Код ORM::is_new() Yoast 28.6

public function is_new() {
	return $this->is_new;
}