wphooks.info - unload_textdomain

unload_textdomain

The hook occurs in the following file:

wp-includes/l10n.php:
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
		return true;
	}

	/**
	 * Fires before the text domain is unloaded.
	 *
	 * @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;

		return true;
	}