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