override_unload_textdomain

override_unload_textdomain

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

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('override_unload_textdomain') is found 1 times:

  • /wp-includes/l10n.php line 839
    	 * @param bool   $override   Whether to override the text domain unloading. Default false.
    	 * @param string $domain     Text domain. Unique identifier for retrieving translated strings.
    	 * @param bool   $reloadable Whether the text domain can be loaded just-in-time again.
    	 */
    	$plugin_override = apply_filters( 'override_unload_textdomain', false, $domain, $reloadable );
    
    	if ( $plugin_override ) {
    		if ( ! $reloadable ) {
    			$l10n_unloaded[ $domain ] = true;
    		}