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 |
---|---|
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. |