wphooks.info - load_textdomain

load_textdomain

(trunk - 5.1-alpha-44286)

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
646
	}

	/**
	 * Fires before the MO translation file is loaded.
	 *
	 * @since 2.9.0
	 *
	 * @param string $domain Text domain. Unique identifier for retrieving translated strings.
	 * @param string $mofile Path to the .mo file.
	 */
	do_action( 'load_textdomain', $domain, $mofile );

	/**
	 * Filters MO file path for loading translations for a specific text domain.
	 *
	 * @since 2.9.0
	 *
	 * @param string $mofile Path to the MO file.
	 * @param string $domain Text domain. Unique identifier for retrieving translated strings.
	 */