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.


Top ↑

Source

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

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.9.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.