This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
_mce_set_element_format( array $mce_init )
Sets element format to html.
Description
Fills in the ‘element_format’ setting This key is then returned in the $mce_init (TinyMCE settings) array.
Parameters
- $mce_init
-
(Required) MCE settings array.
Return
(array) Element format set to 'html'.
Source
File: wp-includes/functions.php
function _mce_set_element_format( $mce_init ) {
$mce_init['element_format'] = 'html';
return $mce_init;
}
Changelog
| Version | Description |
|---|---|
| CP-2.0.0 | Introduced. CP-2.0.0 |