_bbp_filter_locale( string $locale = '',  $domain = '' )

Deprecated locale filter


Description Description


Parameters Parameters

$locale

(Optional)

Default value: ''


Top ↑

Return Return

(string) $domain


Top ↑

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 );
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.