Yoast\WP\SEO\Editors\Domain\Seo

Keyphrase::__construct()publicYoast 1.0

The constructor.

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

Хуков нет.

Возвращает

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

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

$Keyphrase = new Keyphrase();
$Keyphrase->__construct( $keyphrase_usage_count, $keyphrase_usage_per_type );
$keyphrase_usage_count(array) (обязательный)
The keyphrase and the associated posts that use it.
$keyphrase_usage_per_type(array) (обязательный)
The post types for the given post IDs.

Код Keyphrase::__construct() Yoast 25.0

public function __construct( array $keyphrase_usage_count, array $keyphrase_usage_per_type ) {
	$this->keyphrase_usage_count    = $keyphrase_usage_count;
	$this->keyphrase_usage_per_type = $keyphrase_usage_per_type;
}