is_textdomain_loaded

Advertisement

Summery Summery

Whether there are translations for the text domain.

Syntax Syntax

is_textdomain_loaded( string $domain )

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

	if ( null === $cached_mofiles ) {
		$cached_mofiles = array();

Advertisement

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.