Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: admin_print_styles

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
333
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">