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 |
---|---|
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 |