load_textdomain_mofile

load_textdomain_mofile

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('load_textdomain_mofile') is found 1 times:

  • /wp-includes/l10n.php line 794
    	 *
    	 * @param string $mofile Path to the MO file.
    	 * @param string $domain Text domain. Unique identifier for retrieving translated strings.
    	 */
    	$mofile = apply_filters( 'load_textdomain_mofile', $mofile, $domain );
    
    	if ( ! $locale ) {
    		$locale = determine_locale();
    	}
    
    	$i18n_controller = WP_Translation_Controller::get_instance();
    

See this hook used in plugins: