Hook docs for admin-footer.php.
props natejacobs. see #25229. Built from https://develop.svn.wordpress.org/trunk@25252 git-svn-id: http://core.svn.wordpress.org/trunk@25220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5432d10c58
commit
5a1109b40b
|
@ -16,16 +16,64 @@ if ( !defined('ABSPATH') )
|
||||||
<div class="clear"></div></div><!-- wpcontent -->
|
<div class="clear"></div></div><!-- wpcontent -->
|
||||||
|
|
||||||
<div id="wpfooter">
|
<div id="wpfooter">
|
||||||
<?php do_action( 'in_admin_footer' ); ?>
|
<?php
|
||||||
<p id="footer-left" class="alignleft"><?php
|
/**
|
||||||
echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . __( 'Thank you for creating with <a href="http://wordpress.org/">WordPress</a>.' ) . '</span>' );
|
* Fires after the opening tag for the admin footer.
|
||||||
?></p>
|
*
|
||||||
<p id="footer-upgrade" class="alignright"><?php echo apply_filters( 'update_footer', '' ); ?></p>
|
* @since 2.5.0
|
||||||
<div class="clear"></div>
|
*/
|
||||||
|
do_action( 'in_admin_footer' );
|
||||||
|
?>
|
||||||
|
<p id="footer-left" class="alignleft">
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Filter the "Thank you" text displayed in the admin footer
|
||||||
|
*
|
||||||
|
* @since 2.8.0
|
||||||
|
* @param string The content that will be printed.
|
||||||
|
*/
|
||||||
|
echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . __( 'Thank you for creating with <a href="http://wordpress.org/">WordPress</a>.' ) . '</span>' );
|
||||||
|
?>
|
||||||
|
</p>
|
||||||
|
<p id="footer-upgrade" class="alignright">
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Filter the version/update text displayed in the admin footer
|
||||||
|
*
|
||||||
|
* @see core_update_footer() WordPress prints the current version and update information,
|
||||||
|
* using core_update_footer() at priority 10.
|
||||||
|
*
|
||||||
|
* @since 2.5.0
|
||||||
|
* @param string The content that will be printed.
|
||||||
|
*/
|
||||||
|
echo apply_filters( 'update_footer', '' );
|
||||||
|
?>
|
||||||
|
</p>
|
||||||
|
<div class="clear"></div>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* Print scripts or data before the default footer scripts
|
||||||
|
*
|
||||||
|
* @since 2.5.0
|
||||||
|
* @param string The data to print.
|
||||||
|
*/
|
||||||
do_action('admin_footer', '');
|
do_action('admin_footer', '');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Prints any scripts and data queued for the footer
|
||||||
|
*
|
||||||
|
* @since 2.8.0
|
||||||
|
*/
|
||||||
do_action('admin_print_footer_scripts');
|
do_action('admin_print_footer_scripts');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Print scripts or data after the default footer scripts
|
||||||
|
*
|
||||||
|
* @since unknown
|
||||||
|
*
|
||||||
|
* @param type $GLOBALS['hook_suffix'] The current admin page.
|
||||||
|
*/
|
||||||
do_action("admin_footer-" . $GLOBALS['hook_suffix']);
|
do_action("admin_footer-" . $GLOBALS['hook_suffix']);
|
||||||
|
|
||||||
// get_site_option() won't exist when auto upgrading from <= 2.7
|
// get_site_option() won't exist when auto upgrading from <= 2.7
|
||||||
|
|
Loading…
Reference in New Issue