get_translations_for_domain
get_translations_for_domain ( $domain )
Parameters:- (string) domain Text domain. Unique identifier for retrieving translated strings.
Returns:- (Translations|NOOP_Translations) A Translations instance.
Defined at: - Introduced in WordPress: 2.8.0
- Deprecated in WordPress: —
Description
Returns the Translations instance for a text domain.If there isn't one, returns empty Translations instance.