Yoast\WP\SEO\Schema_Aggregator\Domain
Schema_Piece::get_id
Gets the ID of the schema piece.
Метод класса: Schema_Piece{}
Хуков нет.
Возвращает
Строку|null. The ID of the schema piece, or null if not set.
Использование
$Schema_Piece = new Schema_Piece(); $Schema_Piece->get_id(): ?string;
Код Schema_Piece::get_id() Schema Piece::get id Yoast 27.8
public function get_id(): ?string {
return ( $this->data['@id'] ?? null );
}