_mce_set_direction
- %1$s is private and should not be used in themes or plugins directly.
_mce_set_direction ( $mce_init )
Access:Parameters:- (array) mce_init MCE settings array.
Returns:- (array) Direction set for 'rtl', if needed by locale.
Defined at: - Introduced in WordPress: 2.1.0
- Deprecated in WordPress: —
Description
Sets the localized direction for MCE plugin.Will only set the direction to 'rtl', if the WordPress locale has
the text direction set to 'rtl'.
Fills in the 'directionality' setting, enables the 'directionality'
plugin, and adds the 'ltr' button to 'toolbar1', formerly
'theme_advanced_buttons1' array keys. These keys are then returned
in the $mce_init (TinyMCE settings) array.