load_translation_file
load_translation_file
Hook Type: filter
Displaying hooks found in version: wordpress-6.5.3apply_filters('load_translation_file') is found 1 times:
- /wp-includes/l10n.php line 840
* * @param string $file Path to the translation file to load. * @param string $domain The text domain. */ $file = (string) apply_filters( 'load_translation_file', $file, $domain ); $success = $i18n_controller->load_file( $file, $domain, $locale ); if ( $success ) { if ( isset( $l10n[ $domain ] ) && $l10n[ $domain ] instanceof MO ) { $i18n_controller->load_file( $l10n[ $domain ]->get_filename(), $domain, $locale );