• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WordPress core a2z

WordPress core a2z

WordPress core only

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Files / wp-admin/admin-footer.php


Lines:

1 to 100 of 129
<?php

/**
 * WordPress Administration Template Footer
 *
 * @package WordPress
 * @subpackage Administration
 */

// Don't load directly.
if ( ! defined( 'ABSPATH' ) ) {
  die( '-1' );
}


/**
 * @global string $hook_suffix
 */
global $hook_suffix;
?>

<div class="clear"></div></div><!-- wpbody-content -->
<div class="clear"></div></div><!-- wpbody -->
<div class="clear"></div></div><!-- wpcontent -->

<div id="wpfooter" role="contentinfo">
	<?php
  
/**
 * Fires after the opening tag for the admin footer.
 *
 * @since 2.5.0
 */
  do_action( 'in_admin_footer' );
  ?>
	<p id="footer-left" class="alignleft">
		<?php
    $text = sprintf(
      /* translators: %s: https://wordpress.org/ */
      __( 'Thank you for creating with <a href="%s">WordPress</a>.' ),
      __( 'https://wordpress.org/' )
    );

    
/**
 * Filters the "Thank you" text displayed in the admin footer.
 *
 * @since 2.8.0
 *
 * @param string $text The content that will be printed.
 */
    echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . $text . '</span>' );
    ?>
	</p>
	<p id="footer-upgrade" class="alignright">
		<?php
    
/**
 * Filters the version/update text displayed in the admin footer.
 *
 * WordPress prints the current version and update information,
 * using core_update_footer() at priority 10.
 *
 * @since 2.3.0
 *
 * @see core_update_footer()
 *
 * @param string $content The content that will be printed.
 */
    echo apply_filters( 'update_footer', '' );
    ?>
	</p>
	<div class="clear"></div>
</div>
<?php

/**
 * Prints scripts or data before the default footer scripts.
 *
 * @since 1.2.0
 *
 * @param string $data The data to print.
 */
do_action( 'admin_footer', '' );


/**
 * Prints scripts and data queued for the footer.
 *
 * The dynamic portion of the hook name, `$hook_suffix`,
 * refers to the global hook suffix of the current page.
 *
 * @since 4.6.0
 */
do_action( "admin_print_footer_scripts-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores


/**
 * Prints any scripts and data queued for the footer.
 *
 * @since 2.8.0
[1] [2] Next »

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      1 to 7 of 7
      • admin_footer – action
      • admin_footer_text – filter
      • admin_footer-$hook_suffix – action
      • admin_print_footer_scripts – action
      • admin_print_footer_scripts-$hook_suffix – action
      • in_admin_footer – action
      • update_footer – filter
      File name: wp-admin/admin-footer.php
      Plugin ref: WordPress
      Version: 5.7.1
      Deprecated?: No
      API Letters: A,F,P,W

      Published: 25th November 2019 | Last updated: 2nd April 2020

      Primary Sidebar

      Information

      File name: wp-admin/admin-footer.php
      Plugin ref: WordPress
      Version: 5.7.1
      Deprecated?: No
      API Letters: A,F,P,W

      wp-admin

      Footer

      WP-a2z
      WordPress core a2z
      WordPress core only
      WordPress 5.7.1
      WordPress a2z
      WordPress core a2z
      Genesis Theme Framework a2z
      Jetpack a2z
      WordPress develop tests
      Easy Digital Downloads a2z
      WooCommerce a2z
      Yoast SEO a2z
      WordPress Blocks

      Site:  core.wp-a2z.org
      © Copyright WP-a2z 2014-2021. All rights reserved.


      Website designed and developed by Herb Miller
      Proudly powered by WordPress and oik plugins

      • Home
      • Blog
      • Sitemap
      • Sites