apply_filters( 'mce_external_languages', array $translations )

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


Description Description

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.


Parameters Parameters

$translations

(array) Translations for external TinyMCE plugins.


Top ↑

Source Source

File: wp-includes/class-wp-editor.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.