load_textdomain

Advertisement

Summery Summery

Fires before the MO translation file is loaded.

Syntax Syntax

do_action( 'load_textdomain', string $domain, string $mofile )

Parameters Parameters

$domain

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

$mofile

(string) Path to the .mo file.

Source Source

File: wp-includes/l10n.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.9.0 Introduced.

Advertisement

Leave a Reply

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