Yoast\WP\SEO\Helpers

Language_Helper::has_inclusive_language_support()publicYoast 1.0

Checks whether the given language has inclusive language support.

{} Это метод класса: Language_Helper{}

Хуков нет.

Возвращает

true|false. Whether the language has inclusive language support.

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

$Language_Helper = new Language_Helper();
$Language_Helper->has_inclusive_language_support( $language );
$language(строка) (обязательный)
The language to check if inclusive language is supported.

Код Language_Helper::has_inclusive_language_support() Yoast 19.7.1

public function has_inclusive_language_support( $language ) {
	return \in_array( $language, self::$languages_with_inclusive_language_support, true );
}