Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: admin_print_footer_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
361 <body<?php if ( isset($GLOBALS['body_id']) ) echo ' id="' . $GLOBALS['body_id'] . '"'; ?> class="wp-core-ui no-js">
362 <script type="text/javascript">
363 document.body.className = document.body.className.replace('no-js', 'js');
364 </script>
365 <?php
366      $args = func_get_args();
367      $args = array_slice($args, 1);
368      call_user_func_array($content_func, $args);
369
370      do_action('admin_print_footer_scripts');
371 ?>
372 <script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>
373 </body>
374 </html>
375 <?php
376 }
377
378 /**
379  * Adds the media button to the editor