Yoast\WP\SEO\MyYoast_Client\Infrastructure\Crypto

Key_Pair_Manager::get_option_keyprivateYoast 1.0

Returns the issuer-scoped option key for the given purpose.

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

Хуков нет.

Возвращает

Строку. The option key.

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

// private - только в коде основоного (родительского) класса
$result = $this->get_option_key( $purpose ): string;
$purpose(строка) (обязательный)
One of the PURPOSE_* constants.

Код Key_Pair_Manager::get_option_key() Yoast 28.3

private function get_option_key( string $purpose ): string {
	return self::OPTION_PREFIX . $purpose . '_' . $this->issuer_config->get_issuer_key();
}