WPDev.one
Core Function
View Source on Trac ↗

is_locale_switched()

is_locale_switched( )

Determines whether switch_to_locale() is in effect.

Return Value

(bool)
True if the locale has been switched, false otherwise.

Function Information

Since Version
4.7.0
Source File
wp-includes/l10n.php
Advertisement