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.4.3

apply_filters('load_textdomain_mofile') is found 1 times:

  • /wp-includes/l10n.php line 781
    	 *
    	 * @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 ( ! is_readable( $mofile ) ) {
    		return false;
    	}
    
    	if ( ! $locale ) {
    

See this hook used in plugins: