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 |
---|---|
28 | $plugins = apply_filters('mce_plugins', $plugins); |
29 | $plugins = implode($plugins, ','); |
30 |
|
31 | $mce_buttons = apply_filters('mce_buttons', array('bold', 'italic', 'strikethrough', 'separator', 'bullist', 'numlist', 'outdent', 'indent', 'separator', 'justifyleft', 'justifycenter', 'justifyright', 'separator', 'link', 'unlink', 'image', 'wp_more', 'separator', 'spellchecker', 'separator', 'wp_help', 'wp_adv_start', 'wp_adv', 'separator', 'formatselect', 'underline', 'justifyfull', 'forecolor', 'separator', 'pastetext', 'pasteword', 'separator', 'removeformat', 'cleanup', 'separator', 'charmap', 'separator', 'undo', 'redo', 'wp_adv_end')); |
32 | $mce_buttons = implode($mce_buttons, ','); |
33 |
|
34 | $mce_buttons_2 = apply_filters('mce_buttons_2', array()); |
35 | $mce_buttons_2 = implode($mce_buttons_2, ','); |
36 |
|
37 | $mce_buttons_3 = apply_filters('mce_buttons_3', array()); |
38 | $mce_buttons_3 = implode($mce_buttons_3, ','); |
39 |
|
40 | $mce_browsers = apply_filters('mce_browsers', array('msie', 'gecko', 'opera', 'safari')); |
41 | $mce_browsers = implode($mce_browsers, ','); |
42 | |
43 | $mce_popups_css = get_option('siteurl') . '/wp-includes/js/tinymce/plugins/wordpress/popups.css'; |
44 | $mce_css = get_option('siteurl') . '/wp-includes/js/tinymce/plugins/wordpress/wordpress.css'; |
45 | $mce_css = apply_filters('mce_css', $mce_css); |
46 | if ( $_SERVER['HTTPS'] ) { |