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 |
---|---|
1519 | if ( file_exists( "$template_dir/$file" ) ) |
1520 | $mce_css[] = "$template_uri/$file"; |
1521 | } |
1522 | } |
1523 | $mce_css = implode( ',', $mce_css ); |
1524 | } else { |
1525 | $mce_css = ''; |
1526 | } |
1527 |
|
1528 | $mce_css = trim( apply_filters( 'mce_css', $mce_css ), ' ,' ); |
1529 |
|
1530 | if ( ! empty($mce_css) ) |
1531 | $initArray['content_css'] = $mce_css; |
1532 |
|
1533 | if ( is_array($settings) ) |
1534 | $initArray = array_merge($initArray, $settings); |
1535 |
|
1536 | // For people who really REALLY know what they're doing with TinyMCE |
1537 | // You can modify initArray to add, remove, change elements of the config before tinyMCE.init |