is_textdomain_loaded( string $domain )
Whether there are translations for the text domain.
Parameters
- $domain
-
(string) (Required) Text domain. Unique identifier for retrieving translated strings.
Return
(bool) Whether there are translations.
Source
File: wp-includes/l10n.php
function is_textdomain_loaded( $domain ) {
global $l10n;
return isset( $l10n[ $domain ] );
}
Changelog
Version | Description |
---|---|
WP-3.0.0 | Introduced. |