Not_Built_Exception::invalid_object_id()public staticYoast 1.0

Creates an exception that should be thrown when an indexable was not built because of an invalid object id.

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

Хуков нет.


Not_Built_Exception. The exception.


$result = Not_Built_Exception::invalid_object_id( $object_id );
$object_id(int) (обязательный)
The invalid object id.

Код Not_Built_Exception::invalid_object_id() Yoast 21.6

public static function invalid_object_id( $object_id ) {
	return new self(
		"Indexable was not built because it had an invalid object id of $object_id."