Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: mce_css

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
1314           'entities' => '38,amp,60,lt,62,gt',
1315           'accessibility_focus' => true,
1316           'tabfocus_elements' => 'major-publishing-actions',
1317           'media_strict' => false,
1318           'save_callback' => 'switchEditors.saveCallback',
1319           'wpeditimage_disable_captions' => $no_captions,
1320           'plugins' => "$plugins"
1321      );
1322
1323      $mce_css = trim(apply_filters('mce_css', ''), ' ,');
1324
1325      if ( ! empty($mce_css) )
1326           $initArray['content_css'] = "$mce_css";
1327
1328      // For people who really REALLY know what they're doing with TinyMCE
1329      // You can modify initArray to add, remove, change elements of the config before tinyMCE.init
1330      // Setting "valid_elements", "invalid_elements" and "extended_valid_elements" can be done through "tiny_mce_before_init".
1331      // Best is to use the default cleanup by not specifying valid_elements, as TinyMCE contains full set of XHTML 1.0.
1332      if ( $teeny ) {