wp_mce_translation WordPress Filter Hook
The wp_mce_translation hook is used to filter the translation of certain words and phrases in the WordPress TinyMCE editor. This can be useful for customizing the translation of certain terms to better suit your needs.
apply_filters( 'wp_mce_translation', array $mce_translation , string $mce_locale ) #
Filters translated strings prepared for TinyMCE.
Parameters
- $mce_translation
(array)Key/value pairs of strings.
- $mce_locale
(string)Locale.
Source
Changelog
Version | Description |
---|---|
3.9.0 | Introduced. |