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 |
---|---|
176 | '<p><strong>' . __('For more information:') . '</strong></p>' . |
177 | '<p>' . __('<a href="http://codex.wordpress.org/Users_Add_New_Screen" target="_blank">Documentation on Adding New Users</a>') . '</p>' . |
178 | '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>' |
179 | ); |
180 |
|
181 | wp_enqueue_script('wp-ajax-response'); |
182 | wp_enqueue_script('user-profile'); |
183 |
|
184 | if ( is_multisite() && current_user_can( 'promote_users' ) && ! wp_is_large_network( 'users' ) |
185 | && ( is_super_admin() || apply_filters( 'autocomplete_users_for_site_admins', false ) ) |
186 | ) { |
187 | wp_enqueue_script( 'user-suggest' ); |
188 | } |
189 |
|
190 | require_once( 'admin-header.php' ); |
191 |
|
192 | if ( isset($_GET['update']) ) { |
193 | $messages = array(); |
194 | if ( is_multisite() ) { |