[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * WordPress Administration Template Footer 4 * 5 * @package WordPress 6 * @subpackage Administration 7 */ 8 9 // Don't load directly. 10 if ( ! defined( 'ABSPATH' ) ) { 11 die( '-1' ); 12 } 13 14 /** 15 * @global string $hook_suffix 16 */ 17 global $hook_suffix; 18 ?> 19 20 <div class="clear"></div></div><!-- wpbody-content --> 21 <div class="clear"></div></div><!-- wpbody --> 22 <div class="clear"></div></div><!-- wpcontent --> 23 24 <div id="wpfooter" role="contentinfo"> 25 <?php 26 /** 27 * Fires after the opening tag for the admin footer. 28 * 29 * @since 2.5.0 30 */ 31 do_action( 'in_admin_footer' ); 32 ?> 33 <p id="footer-left" class="alignleft"> 34 <?php 35 $text = sprintf( 36 /* translators: %s: https://wordpress.org/ */ 37 __( 'Thank you for creating with <a href="%s">WordPress</a>.' ), 38 esc_url( __( 'https://wordpress.org/' ) ) 39 ); 40 41 /** 42 * Filters the "Thank you" text displayed in the admin footer. 43 * 44 * @since 2.8.0 45 * 46 * @param string $text The content that will be printed. 47 */ 48 echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . $text . '</span>' ); 49 ?> 50 </p> 51 <p id="footer-upgrade" class="alignright"> 52 <?php 53 /** 54 * Filters the version/update text displayed in the admin footer. 55 * 56 * WordPress prints the current version and update information, 57 * using core_update_footer() at priority 10. 58 * 59 * @since 2.3.0 60 * 61 * @see core_update_footer() 62 * 63 * @param string $content The content that will be printed. 64 */ 65 echo apply_filters( 'update_footer', '' ); 66 ?> 67 </p> 68 <div class="clear"></div> 69 </div> 70 <?php 71 /** 72 * Prints scripts or data before the default footer scripts. 73 * 74 * @since 1.2.0 75 * 76 * @param string $data The data to print. 77 */ 78 do_action( 'admin_footer', '' ); 79 80 /** 81 * Prints scripts and data queued for the footer. 82 * 83 * The dynamic portion of the hook name, `$hook_suffix`, 84 * refers to the global hook suffix of the current page. 85 * 86 * @since 4.6.0 87 */ 88 do_action( "admin_print_footer_scripts-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 89 90 /** 91 * Prints any scripts and data queued for the footer. 92 * 93 * @since 2.8.0 94 */ 95 do_action( 'admin_print_footer_scripts' ); 96 97 /** 98 * Prints scripts or data after the default footer scripts. 99 * 100 * The dynamic portion of the hook name, `$hook_suffix`, 101 * refers to the global hook suffix of the current page. 102 * 103 * @since 2.8.0 104 */ 105 do_action( "admin_footer-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 106 107 // get_site_option() won't exist when auto upgrading from <= 2.7. 108 if ( function_exists( 'get_site_option' ) 109 && false === get_site_option( 'can_compress_scripts' ) 110 ) { 111 compression_test(); 112 } 113 114 ?> 115 116 <div class="clear"></div></div><!-- wpwrap --> 117 <script type="text/javascript">if(typeof wpOnload==='function')wpOnload();</script> 118 </body> 119 </html>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Sat Nov 23 08:20:01 2024 | Cross-referenced by PHPXref |