Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: network_site_users_after_list_table

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
235
236 <form method="post" action="site-users.php?action=update-site">
237      <?php wp_nonce_field( 'edit-site' ); ?>
238      <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" />
239
240 <?php $wp_list_table->display(); ?>
241
242 </form>
243
244 <?php do_action( 'network_site_users_after_list_table', '' );?>
245
246 <?php if ( current_user_can( 'promote_users' ) && apply_filters( 'show_network_site_users_add_existing_form', true ) ) : ?>
247 <h4 id="add-user"><?php _e('Add User to This Site') ?></h4>
248      <?php if ( current_user_can( 'create_users' ) && apply_filters( 'show_network_site_users_add_new_form', true ) ) : ?>
249 <p><?php _e( 'You may add from existing network users, or set up a new user to add to this site.' ); ?></p>
250      <?php else : ?>
251 <p><?php _e( 'You may add from existing network users to this site.' ); ?></p>
252      <?php endif; ?>
253 <h5 id="add-existing-user"><?php _e('Add Existing User') ?></h5>