_bbp_filter_locale( string $locale = '', $domain = '' )
Deprecated locale filter
Description Description
Parameters Parameters
- $locale
-
(Optional)
Default value: ''
Return Return
(string) $domain
Source Source
File: includes/core/filters.php
function _bbp_filter_locale( $locale = '', $domain = '' ) { // Only apply to the bbPress text-domain if ( bbpress()->domain !== $domain ) { return $locale; } return apply_filters( 'bbpress_locale', $locale, $domain ); }
Changelog Changelog
Version | Description |
---|---|
2.2.0 | Introduced. |