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 |
|---|---|
| 334 | <?php |
| 335 | add_thickbox(); |
| 336 | wp_enqueue_style('press-this'); |
| 337 | wp_enqueue_style('press-this-ie'); |
| 338 | wp_enqueue_style( 'colors' ); |
| 339 | wp_enqueue_script( 'post' ); |
| 340 | wp_enqueue_script('editor'); |
| 341 | |
| 342 | do_action('admin_print_styles'); |
| 343 | do_action('admin_print_scripts'); |
| 344 | do_action('admin_head'); |
| 345 | |
| 346 | if ( user_can_richedit() ) { |
| 347 | add_filter( 'teeny_mce_before_init', create_function( '$a', '$a["height"] = "400"; $a["onpageload"] = ""; $a["mode"] = "textareas"; $a["editor_selector"] = "mceEditor"; return $a;' ) ); |
| 348 | wp_tiny_mce( true ); |
| 349 | } |
| 350 | ?> |
| 351 | <script type="text/javascript"> |
| 352 | jQuery('#tags-input').hide(); |