Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: admin_print_scripts

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
3246      wp_enqueue_style( 'wp-admin' );
3247 ?>
3248 <script type="text/javascript">
3249 //<![CDATA[
3250 function addLoadEvent(func) {if ( typeof wpOnload!='function'){wpOnload=func;}else{ var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}}
3251 //]]>
3252 </script>
3253 <?php
3254 do_action('admin_print_styles');
3255 do_action('admin_print_scripts');
3256 do_action('admin_head');
3257 ?>
3258 </head>
3259 <body<?php if ( isset($GLOBALS['body_id']) ) echo ' id="' . $GLOBALS['body_id'] . '"'; ?>>
3260 <?php
3261 }
3262
3263 /**
3264  * Generic Iframe footer for use with Thickbox