Yoast\WP\Lib

Model::id │ public │ Yoast 1.0

Get the database ID of this model instance.

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

Хуков нет.

Возвращает

int. The database ID of the models instance.

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

$Model = new Model();
$Model->id();

Код Model::id() Yoast 28.7

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