Source View: update_footer

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.

  • Action hooks look like this: do_action( "hook_name" )
  • Filter hooks look like this: 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.

Source View

Line Code
1 </div><!-- wpbody -->
2 </div><!-- wpcontent -->
3 </div><!-- wpwrap -->
4 <div id="footer">
5 <p><?php
6 do_action('in_admin_footer', '');
7 $upgrade = apply_filters( 'update_footer', '' );
8 echo __('Thank you for creating with <a href="http://wordpress.org/">WordPress</a>').' | '.__('<a href="http://codex.wordpress.org/">Documentation</a>').' | '.__('<a href="http://wordpress.org/support/forum/4">Feedback</a>').' '.$upgrade;
9 ?></p>
10 </div>
11 <?php do_action('admin_footer', ''); ?>
12 <script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>
13 </body>
14 </html>
15