wp_mce_translation

wp_mce_translation

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('wp_mce_translation') is found 1 times:

  • /wp-includes/class-wp-editor.php line 1487
    		 *
    		 * @param array  $mce_translation Key/value pairs of strings.
    		 * @param string $mce_locale      Locale.
    		 */
    		$mce_translation = apply_filters( 'wp_mce_translation', $mce_translation, $mce_locale );
    
    		foreach ( $mce_translation as $key => $value ) {
    			// Remove strings that are not translated.
    			if ( $key === $value ) {
    				unset( $mce_translation[ $key ] );
    				continue;