Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: network_user_new_form

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
134                <td colspan="2" class="td-full"><?php _e( 'A password reset link will be sent to the user via email.' ); ?></td>
135           </tr>
136      </table>
137      <?php
138      /**
139       * Fires at the end of the new user form in network admin.
140       *
141       * @since 4.5.0
142       */
143      do_action( 'network_user_new_form' );
144
145      wp_nonce_field( 'add-user', '_wpnonce_add-user' );
146      submit_button( __( 'Add User' ), 'primary', 'add-user' );
147      ?>
148      </form>
149 </div>
150 <?php
151 require( ABSPATH . 'wp-admin/admin-footer.php' );
152