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
1423           'tabfocus_elements' => 'major-publishing-actions',
1424           'media_strict' => false,
1425           'paste_remove_styles' => true,
1426           'paste_remove_spans' => true,
1427           'paste_strip_class_attributes' => 'all',
1428           'wpeditimage_disable_captions' => $no_captions,
1429           'plugins' => "$plugins"
1430      );
1431
1432      $mce_css = trim(apply_filters('mce_css', ''), ' ,');
1433
1434      if ( ! empty($mce_css) )
1435           $initArray['content_css'] = "$mce_css";
1436
1437      if ( is_array($settings) )
1438           $initArray = array_merge($initArray, $settings);
1439
1440      // For people who really REALLY know what they're doing with TinyMCE
1441      // You can modify initArray to add, remove, change elements of the config before tinyMCE.init