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 |
---|---|
171 | <?php endif; ?> |
172 | <?php if ( isset( $errors ) && is_wp_error( $errors ) ) : ?> |
173 | <div class="error"><p><?php echo implode( "</p>\n<p>", $errors->get_error_messages() ); ?></p></div> |
174 | <?php endif; ?> |
175 |
|
176 | <div class="wrap" id="profile-page"> |
177 | <?php screen_icon(); ?> |
178 | <h2><?php echo esc_html( $title ); ?></h2> |
179 |
|
180 | <form id="your-profile" action="<?php echo esc_url( admin_url( IS_PROFILE_PAGE ? 'profile.php' : 'user-edit.php' ) ); ?>" method="post"<?php do_action('user_edit_form_tag'); ?>> |
181 | <?php wp_nonce_field('update-user_' . $user_id) ?> |
182 | <?php if ( $wp_http_referer ) : ?> |
183 | <input type="hidden" name="wp_http_referer" value="<?php echo esc_url($wp_http_referer); ?>" /> |
184 | <?php endif; ?> |
185 | <p> |
186 | <input type="hidden" name="from" value="profile" /> |
187 | <input type="hidden" name="checkuser_id" value="<?php echo $user_ID ?>" /> |
188 | </p> |
189 |
|