WPDev.one
Core Function
View Source on Trac ↗

get_locale()

get_locale( )

Retrieves the current locale.

Return Value

(string)
The locale of the blog or from the {@see 'locale'} hook.

Function Information

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