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