wphooks.info - lang_codes

lang_codes

(trunk - 5.0-alpha-42993)

The hook occurs in the following file:

wp-admin/includes/ms.php:
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
	);

	/**
	 * Filters the language codes.
	 *
	 * @since MU (3.0.0)
	 *
	 * @param string[] $lang_codes Array of key/value pairs 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.