override_load_textdomain

override_load_textdomain

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('override_load_textdomain') is found 1 times:

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