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 |
---|---|
135 | entity_encoding : "raw", |
136 | relative_urls : false, |
137 | remove_script_host : false, |
138 | force_p_newlines : true, |
139 | force_br_newlines : false, |
140 | convert_newlines_to_brs : false, |
141 | remove_linebreaks : true, |
142 | save_callback : "wp_save_callback", |
143 | valid_elements : "<?php echo $valid_elements; ?>", |
144 | <?php do_action('mce_options'); ?> |
145 | plugins : "<?php echo $plugins; ?>" |
146 | }; |
147 |
|
148 | <?php |
149 | // For people who really REALLY know what they're doing with TinyMCE |
150 | do_action('tinymce_before_init'); |
151 | ?> |
152 |
|
153 | tinyMCE.init(initArray); |