apply_filters( 'locale', string $locale )

Filters the locale ID of the WordPress installation.

Parameters

$locale

(string) The locale ID.

Source

File: wp-includes/l10n.php

View on Trac

Changelog

Version Description
1.5.0 Introduced.