WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
Line | Code |
---|---|
1620 | if ( file_exists( "$style_dir/$file" ) ) |
1621 | $mce_css[] = "$style_uri/$file"; |
1622 | } |
1623 | } |
1624 | $mce_css = implode( ',', $mce_css ); |
1625 | } else { |
1626 | $mce_css = ''; |
1627 | } |
1628 |
|
1629 | $mce_css = trim( apply_filters( 'mce_css', $mce_css ), ' ,' ); |
1630 |
|
1631 | if ( ! empty($mce_css) ) |
1632 | $initArray['content_css'] = $mce_css; |
1633 |
|
1634 | if ( is_array($settings) ) |
1635 | $initArray = array_merge($initArray, $settings); |
1636 |
|
1637 | // For people who really REALLY know what they're doing with TinyMCE |
1638 | // You can modify initArray to add, remove, change elements of the config before tinyMCE.init |