WordPress at Your Fingertips
filter is not described

mce_external_languages filter-hook . WP 2.5.0

Filters the translations loaded for external TinyMCE 3.x plugins.

The filter takes an associative array ('plugin_name' => 'path') where 'path' is the include path to the file.

The language file should follow the same format as wp_mce_translation(), and should define a variable ($strings) that holds all translated strings.


add_filter( 'mce_external_languages', 'filter_function_name_1116', 10, 2 );
function filter_function_name_1116( $translations, $editor_id ){
	// filter...

	return $translations;
Translations for external TinyMCE plugins.
Unique editor identifier, e.g. 'content'.


Since 2.5.0 Introduced.
Since 5.3.0 The $editor_id parameter was added.

Where the hook is called

wp-includes/class-wp-editor.php 482
$mce_external_languages = apply_filters( 'mce_external_languages', array(), $editor_id );

Where in WP core the hook is used WordPress

Usage not found.