Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: user_edit_form_tag

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
213      <?php }
214 } ?>
215 </h2>
216 <form id="your-profile" action="<?php echo esc_url( self_admin_url( IS_PROFILE_PAGE ? 'profile.php' : 'user-edit.php' ) ); ?>" method="post" novalidate="novalidate"<?php
217      /**
218       * Fires inside the your-profile form tag on the user editing screen.
219       *
220       * @since 3.0.0
221       */
222      do_action( 'user_edit_form_tag' );
223 ?>>
224 <?php wp_nonce_field('update-user_' . $user_id) ?>
225 <?php if ( $wp_http_referer ) : ?>
226      <input type="hidden" name="wp_http_referer" value="<?php echo esc_url($wp_http_referer); ?>" />
227 <?php endif; ?>
228 <p>
229 <input type="hidden" name="from" value="profile" />
230 <input type="hidden" name="checkuser_id" value="<?php echo get_current_user_id(); ?>" />
231 </p>