Yoast\WP\Lib

Model::id()publicYoast 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 22.4

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