wp_mce_translation

过滤钩子


apply_filters( 'wp_mce_translation', $mce_translation, $mce_locale )
参数
  • (array)
    $mce_translation
    Key/value pairs of strings.
    Required:
  • (string)
    $mce_locale
    Locale.
    Required:
定义位置
  • wp-includes/class-wp-editor.php
    , line 1478
引入
3.9.0
弃用

Filters translated strings prepared for TinyMCE.

$mce_translation = apply_filters( 'wp_mce_translation', $mce_translation, $mce_locale );