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
1579                     if ( file_exists( "$style_dir/$file" ) )
1580                          $mce_css[] = "$style_uri/$file";
1581                }
1582           }
1583           $mce_css = implode( ',', $mce_css );
1584      } else {
1585           $mce_css = '';
1586      }
1587
1588      $mce_css = trim( apply_filters( 'mce_css', $mce_css ), ' ,' );
1589
1590      if ( ! empty($mce_css) )
1591           $initArray['content_css'] = $mce_css;
1592
1593      if ( is_array($settings) )
1594           $initArray = array_merge($initArray, $settings);
1595
1596      // For people who really REALLY know what they're doing with TinyMCE
1597      // You can modify initArray to add, remove, change elements of the config before tinyMCE.init