is_textdomain_loaded( string $domain )

Whether there are translations for the text domain.

Description Description

Parameters Parameters


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

Top ↑

Return Return

(bool) Whether there are translations.

Top ↑

Source Source

File: wp-includes/l10n.php

function is_textdomain_loaded( $domain ) {
	global $l10n;
	return isset( $l10n[ $domain ] );

Top ↑

Changelog Changelog

Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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