WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
Line | Code |
---|---|
28 | <?php |
29 | $text = sprintf( __( 'Thank you for creating with <a href="%s">WordPress</a>.' ), __( 'https://wordpress.org/' ) ); |
30 | /** |
31 | * Filter the "Thank you" text displayed in the admin footer. |
32 | * |
33 | * @since 2.8.0 |
34 | * |
35 | * @param string $text The content that will be printed. |
36 | */ |
37 | echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . $text . '</span>' ); |
38 | ?> |
39 | </p> |
40 | <p id="footer-upgrade" class="alignright"> |
41 | <?php |
42 | /** |
43 | * Filter the version/update text displayed in the admin footer. |
44 | * |
45 | * WordPress prints the current version and update information, |
46 | * using core_update_footer() at priority 10. |