Make WordPress Core


Ignore:
Timestamp:
09/05/2013 04:20:05 PM (11 years ago)
Author:
nacin
Message:

Hook docs for admin-footer.php.

props natejacobs.
see #25229.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/admin-footer.php

    r21878 r25252  
    1717
    1818<div id="wpfooter">
    19 <?php do_action( 'in_admin_footer' ); ?>
    20 <p id="footer-left" class="alignleft"><?php
    21 echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . __( 'Thank you for creating with <a href="http://wordpress.org/">WordPress</a>.' ) . '</span>' );
    22 ?></p>
    23 <p id="footer-upgrade" class="alignright"><?php echo apply_filters( 'update_footer', '' ); ?></p>
    24 <div class="clear"></div>
     19    <?php
     20    /**
     21     * Fires after the opening tag for the admin footer.
     22     *
     23     * @since 2.5.0
     24     */
     25    do_action( 'in_admin_footer' );
     26    ?>
     27    <p id="footer-left" class="alignleft">
     28        <?php
     29        /**
     30         * Filter the "Thank you" text displayed in the admin footer
     31         *
     32         * @since 2.8.0
     33         * @param string The content that will be printed.
     34         */
     35        echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . __( 'Thank you for creating with <a href="http://wordpress.org/">WordPress</a>.' ) . '</span>' );
     36        ?>
     37    </p>
     38    <p id="footer-upgrade" class="alignright">
     39        <?php
     40        /**
     41         * Filter the version/update text displayed in the admin footer
     42         *
     43         * @see core_update_footer() WordPress prints the current version and update information,
     44         *  using core_update_footer() at priority 10.
     45         *
     46         * @since 2.5.0
     47         * @param string The content that will be printed.
     48         */
     49        echo apply_filters( 'update_footer', '' );
     50        ?>
     51    </p>
     52    <div class="clear"></div>
    2553</div>
    2654<?php
     55/**
     56 * Print scripts or data before the default footer scripts
     57 *
     58 * @since 2.5.0
     59 * @param string The data to print.
     60 */
    2761do_action('admin_footer', '');
     62
     63/**
     64 * Prints any scripts and data queued for the footer
     65 *
     66 * @since 2.8.0
     67 */
    2868do_action('admin_print_footer_scripts');
     69
     70/**
     71 * Print scripts or data after the default footer scripts
     72 *
     73 * @since unknown
     74 *
     75 * @param type $GLOBALS['hook_suffix'] The current admin page.
     76 */
    2977do_action("admin_footer-" . $GLOBALS['hook_suffix']);
    3078
Note: See TracChangeset for help on using the changeset viewer.