get_translations_for_domain

SummerySummery

Return the Translations instance for a text domain.

Syntax

get_translations_for_domain( string $domain )

DescriptionDescription

If there isn’t one, returns empty Translations instance.

ParametersParameters

$domain

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

ReturnReturn

(Translations|NOOP_Translations) A Translations instance.

SourceSource

File: wp-includes/l10n.php


			

ChangelogChangelog

Changelog
Version Description
2.8.0 Introduced.
Scroll to Top