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 |
---|---|
84 | break; |
85 | case 'show': |
86 | default: |
87 | ?> |
88 | <h3><?php _e( 'Database Upgrade Required' ); ?></h3> |
89 | <p><?php _e( 'WordPress has been updated! Before we send you on your way, we need to individually upgrade the sites in your network.' ); ?></p> |
90 | <p><?php _e( 'The upgrade process may take a little while, so please be patient.' ); ?></p> |
91 | <p><a class="button" href="upgrade.php?action=upgrade"><?php _e( 'Upgrade Network' ); ?></a></p> |
92 | <?php |
93 | do_action( 'wpmu_upgrade_page' ); |
94 | break; |
95 | } |
96 | ?> |
97 | </div> |
98 |
|
99 | <?php include('../admin-footer.php'); ?> |
100 |
|