Yoast\WP\SEO\Schema_Aggregator\Domain
Schema_Piece::__construct
Class constructor.
Метод класса: Schema_Piece{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Schema_Piece = new Schema_Piece(); $Schema_Piece->__construct( $data, $type );
- $data(array<string, string|int|bool>) (обязательный)
- The data of the schema piece.
- $type(строка|array
) (обязательный) - The type of the schema piece.
Код Schema_Piece::__construct() Schema Piece:: construct Yoast 28.9
public function __construct( array $data, $type ) {
$this->data = $data;
$this->type = $type;
}