Yoast\WP\SEO\Exceptions\Indexable

Indexing_Failed_Exception::get_object_id │ public │ Yoast 1.0

Gets the object ID of the indexable that failed to build.

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

Хуков нет.

Возвращает

int|null. The object ID, or null for id-less object types.

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

$Indexing_Failed_Exception = new Indexing_Failed_Exception();
$Indexing_Failed_Exception->get_object_id();

Код Indexing_Failed_Exception::get_object_id() Yoast 28.9

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