Filters the file path for loading translations for the given text domain. Similar to the {@see 'load_textdomain_mofile'} filter with the difference that the file path could be for an MO or PHP file.
$file, $domain, $locale
Sortie :
@param string $file Path to the translation file to load. @param string $domain The text domain. @param string $locale The locale.
// Modifier la valeur avec le filtre 'load_translation_file'
add_filter('load_translation_file', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($file) {
// Modifier la valeur
return $file;
}
Chargement des actualités...