apply_filters( 'theme_locale', string $locale, string $domain )

Filters a theme’s locale.

Parameters

$locale

(string) The theme's current locale.

$domain

(string) Text domain. Unique identifier for retrieving translated strings.

Source

File: wp-includes/l10n.php

View on Trac

Changelog

Version Description
3.0.0 Introduced.