Yoast\WP\SEO\Conditionals

Gradual_Rollout_Conditional::get_rollout_share │ protected │ Yoast 1.0

Returns the current rollout share in per-mille (0-1000).

0 means the feature is enabled for no sites, 1000 for all sites. The value is raised release over release as the rollout widens.

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

Хуков нет.

Возвращает

int. The rollout share in per-mille.

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_rollout_share(): int;

Код Gradual_Rollout_Conditional::get_rollout_share() Yoast 28.9

abstract protected function get_rollout_share(): int;