Yoast\WP\SEO\Bulk_Editor\Domain\Content_Types

Content_Type::__construct │ public │ Yoast 1.0

The constructor.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

$Content_Type = new Content_Type();
$Content_Type->__construct( $name, $label, $singular_label );
$name(строка) (обязательный)
The name of the content type.
$label(строка) (обязательный)
The label of the content type.
$singular_label(строка) (обязательный)
The singular label of the content type.

Код Content_Type::__construct() Yoast 28.7

public function __construct( string $name, string $label, string $singular_label ) {
	$this->name           = $name;
	$this->label          = $label;
	$this->singular_label = $singular_label;
}