user_edit_form_tag
Action HookDescription
Fires inside the your-profile form tag on the user editing screen.Hook Information
File Location |
wp-admin/user-edit.php
View on GitHub
|
Hook Type | Action |
Line Number | 284 |
Hook Parameters
This hook doesn't accept any parameters.
Usage Examples
Basic Usage
<?php
// Hook into user_edit_form_tag
add_action('user_edit_form_tag', 'my_custom_function');
function my_custom_function() {
// Your custom code here
}
Source Code Context
wp-admin/user-edit.php:284
- How this hook is used in WordPress core
<?php
279 /**
280 * Fires inside the your-profile form tag on the user editing screen.
281 *
282 * @since 3.0.0
283 */
284 do_action( 'user_edit_form_tag' );
285 ?>
286 >
287 <?php wp_nonce_field( 'update-user_' . $user_id ); ?>
288 <?php if ( $wp_http_referer ) : ?>
289 <input type="hidden" name="wp_http_referer" value="<?php echo esc_url( $wp_http_referer ); ?>" />
PHP Documentation
<?php
/**
* Fires inside the your-profile form tag on the user editing screen.
*
* @since 3.0.0
*/
Quick Info
- Hook Type: Action
- Parameters: 0
- File: wp-admin/user-edit.php
Related Hooks
Related hooks will be displayed here in future updates.