Yoast\WP\SEO\Conditionals
MyYoast_Connection_Conditional::get_rollout_share
The share of sites the connection is rolled out to, in per-mille (0-1000).
Ships at 1%; raised release over release as the rollout widens.
Метод класса: MyYoast_Connection_Conditional{}
Хуков нет.
Возвращает
int. The rollout share in per-mille.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_rollout_share(): int;
Код MyYoast_Connection_Conditional::get_rollout_share() MyYoast Connection Conditional::get rollout share Yoast 28.9
protected function get_rollout_share(): int {
// 20%.
return 200;
}