restore_previous_locale()
restore_previous_locale()
根据以前的区域设置还原翻译。
Restores the translations according to the previous locale.
返回(Return)
(string|false)成功时的区域设置,错误时为false。
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
4.7.0 | wp-includes/l10n.php:1608 | 18 | 1 function |
restore_previous_locale() 为WP2原创文章,链接:https://www.wp2.cn/functions/restore_previous_locale/