Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

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.

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
90           do_action('admin_print_scripts');
91           do_action('admin_head');
92      ?>
93      </head>
94      <body class="press-this">
95           <div id="message" class="updated fade"><p><strong><?php _e('Your post has been saved.'); ?></strong> <a onclick="window.opener.location.replace(this.href); window.close();" href="<?php echo get_permalink( $post_ID); ?>"><?php _e('View post'); ?></a> | <a href="post.php?action=edit&amp;post=<?php echo $post_ID; ?>" onclick="window.opener.location.replace(this.href); window.close();"><?php _e('Edit post'); ?></a> | <a href="#" onclick="window.close();"><?php _e('Close Window'); ?></a></p></div>
96           <div id="footer">
97           <p><?php
98           do_action('in_admin_footer', '');
99           $upgrade = apply_filters( 'update_footer', '' );
100           echo __('Thank you for creating with <a href="http://wordpress.org/">WordPress</a>');
101           ?></p>
102           </div>
103           <?php do_action('admin_footer', ''); ?>
104      </body>
105      </html>
106      <?php die;
107 }
108