wphooks.info - lang_codes

lang_codes

(trunk - 5.0-alpha-42541)

The hook occurs in the following file:

wp-admin/includes/ms.php:
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
	);

	/**
	 * Filters the language codes.
	 *
	 * @since MU (3.0.0)
	 *
	 * @param array  $lang_codes Key/value pair of language codes where key is the short version.
	 * @param string $code       A two-letter designation of the language.
	 */
	$lang_codes = apply_filters( 'lang_codes', $lang_codes, $code );
	return strtr( $code, $lang_codes );
}

/**
 * Synchronize category and post tag slugs when global terms are enabled.
 *
 * @since 3.0.0
 *
 * @param object $term     The term.