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 |
---|---|
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'] ) { |
47 | $mce_css = str_replace('http://', 'https://', $mce_css); |
48 | $mce_popups_css = str_replace('http://', 'https://', $mce_popups_css); |
49 | } |
50 | ?> |
51 |
|
52 | initArray = { |
53 | mode : "specific_textareas", |
54 | editor_selector : "mceEditor", |