Yoast\WP\SEO\Schema_Aggregator\Domain

Indexable_Count::__constructpublicYoast 1.0

Constructor for Indexable_Count.

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

Хуков нет.

Возвращает

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

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

$Indexable_Count = new Indexable_Count();
$Indexable_Count->__construct( $post_type, $count );
$post_type(строка) (обязательный)
The post type.
$count(int) (обязательный)
The count of indexables.

Код Indexable_Count::__construct() Yoast 27.7

public function __construct( string $post_type, int $count ) {
	$this->post_type = $post_type;
	$this->count     = $count;
}