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 |
---|---|
86 | if ( get_site_option( 'wpmu_upgrade_site' ) != $GLOBALS['wp_db_version'] ) : |
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 | <?php endif; ?> |
91 |
|
92 | <p><?php _e( 'The database upgrade process may take a little while, so please be patient.' ); ?></p> |
93 | <p><a class="button" href="upgrade.php?action=upgrade"><?php _e( 'Upgrade Network' ); ?></a></p> |
94 | <?php |
95 | do_action( 'wpmu_upgrade_page' ); |
96 | break; |
97 | } |
98 | ?> |
99 | </div> |
100 |
|
101 | <?php include( ABSPATH . 'wp-admin/admin-footer.php' ); ?> |
102 |
|