unload_textdomain

unload_textdomain

Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.0.1

do_action('unload_textdomain') is found 1 times:

  • /wp-includes/l10n.php line 807
    	 * @since 3.0.0
    	 *
    	 * @param string $domain Text domain. Unique identifier for retrieving translated strings.
    	 */
    	do_action( 'unload_textdomain', $domain );
    
    	if ( isset( $l10n[ $domain ] ) ) {
    		unset( $l10n[ $domain ] );
    
    		$l10n_unloaded[ $domain ] = true;