wphooks.info - load_textdomain

load_textdomain

(trunk - 5.0-alpha-42719)

The hook occurs in the following file:

wp-includes/l10n.php:
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
	}

	/**
	 * 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.
	 */