apply_filters ( ‘load_translation_file’, string $file , string $domain , string $locale )

Filters the file path for loading translations for the guiven text domain.

Description

Similar to the ‘load_textdomain_mofile’ filter with the difference that the file path could be for an MO or PHP file.

Parameters

$file string
Path to the translation file to load.
$domain string
The text domain.
$locale string
The locale.

Source

*/

Changuelog

Versionen Description
6.6.0 Added the $locale parameter.
6.5.0 Introduced.

User Contributed Notes

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