pre_load_textdomain

pre_load_textdomain

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('pre_load_textdomain') is found 1 times:

  • /wp-includes/l10n.php line 748
    	 * @param string      $domain Text domain. Unique identifier for retrieving translated strings.
    	 * @param string      $mofile Path to the MO file.
    	 * @param string|null $locale Locale.
    	 */
    	$loaded = apply_filters( 'pre_load_textdomain', null, $domain, $mofile, $locale );
    	if ( null !== $loaded ) {
    		if ( true === $loaded ) {
    			unset( $l10n_unloaded[ $domain ] );
    		}
    
    		return $loaded;