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 |
---|---|
34 | <?php |
35 | $text = sprintf( __( 'Thank you for creating with <a href="%s">WordPress</a>.' ), __( 'https://wordpress.org/' ) ); |
36 | /** |
37 | * Filters the "Thank you" text displayed in the admin footer. |
38 | * |
39 | * @since 2.8.0 |
40 | * |
41 | * @param string $text The content that will be printed. |
42 | */ |
43 | echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . $text . '</span>' ); |
44 | ?> |
45 | </p> |
46 | <p id="footer-upgrade" class="alignright"> |
47 | <?php |
48 | /** |
49 | * Filters the version/update text displayed in the admin footer. |
50 | * |
51 | * WordPress prints the current version and update information, |
52 | * using core_update_footer() at priority 10. |