restore_current_locale()

最后更新于:2021-11-27 23:31:44

restore_current_locale()

Restores the translations according to the original locale.

响应

(string|false) Locale on success, false on error.

源文件

文件: gc-includes/l10n.php

function restore_current_locale() {
	/* @var GC_Locale_Switcher $gc_locale_switcher */
	global $gc_locale_switcher;

	return $gc_locale_switcher->restore_current_locale();
}