Yoast\WP\SEO\Exceptions\Indexable
Indexing_Failed_Exception::get_object_id
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() Indexing Failed Exception::get object id Yoast 28.9
public function get_object_id() {
return $this->object_id;
}