3 * WordPress Administration Template Footer
6 * @subpackage Administration
10 if ( !defined('ABSPATH') )
14 * @global string $hook_suffix
19 <div class="clear"></div></div><!-- wpbody-content -->
20 <div class="clear"></div></div><!-- wpbody -->
21 <div class="clear"></div></div><!-- wpcontent -->
23 <div id="wpfooter" role="contentinfo">
26 * Fires after the opening tag for the admin footer.
30 do_action( 'in_admin_footer' );
32 <p id="footer-left" class="alignleft">
34 $text = sprintf( __( 'Thank you for creating with <a href="%s">WordPress</a>.' ), __( 'https://wordpress.org/' ) );
36 * Filters the "Thank you" text displayed in the admin footer.
40 * @param string $text The content that will be printed.
42 echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . $text . '</span>' );
45 <p id="footer-upgrade" class="alignright">
48 * Filters the version/update text displayed in the admin footer.
50 * WordPress prints the current version and update information,
51 * using core_update_footer() at priority 10.
55 * @see core_update_footer()
57 * @param string $content The content that will be printed.
59 echo apply_filters( 'update_footer', '' );
62 <div class="clear"></div>
66 * Prints scripts or data before the default footer scripts.
70 * @param string $data The data to print.
72 do_action( 'admin_footer', '' );
75 * Prints scripts and data queued for the footer.
77 * The dynamic portion of the hook name, `$hook_suffix`,
78 * refers to the global hook suffix of the current page.
82 * @global string $hook_suffix
84 * @param string $hook_suffix The current admin page.
86 do_action( "admin_print_footer_scripts-{$hook_suffix}" );
89 * Prints any scripts and data queued for the footer.
93 do_action( 'admin_print_footer_scripts' );
96 * Prints scripts or data after the default footer scripts.
98 * The dynamic portion of the hook name, `$hook_suffix`,
99 * refers to the global hook suffix of the current page.
103 * @global string $hook_suffix
104 * @param string $hook_suffix The current admin page.
106 do_action( "admin_footer-{$hook_suffix}" );
108 // get_site_option() won't exist when auto upgrading from <= 2.7
109 if ( function_exists('get_site_option') ) {
110 if ( false === get_site_option('can_compress_scripts') )
116 <div class="clear"></div></div><!-- wpwrap -->
117 <script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>