WP_Locale_Switcher::is_switched

SummerySummery

Whether switch_to_locale() is in effect.

Syntax

WP_Locale_Switcher::is_switched()

ReturnReturn

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

SourceSource

File: wp-includes/class-wp-locale-switcher.php


			

ChangelogChangelog

Changelog
Version Description
4.7.0 Introduced.
Scroll to Top