Action hook 'edit_user_profile'

in WP Core File wp-admin/user-edit.php at line 893

View Source

edit_user_profile

Action Hook
Description
Fires after the 'About the User' settings table on the 'Edit User' screen.

Hook Information

File Location wp-admin/user-edit.php View on GitHub
Hook Type Action
Line Number 893

Hook Parameters

Type Name Description
WP_User $profile_user The current WP_User object.

Usage Examples

Basic Usage
<?php
// Hook into edit_user_profile
add_action('edit_user_profile', 'my_custom_function', 10, 1);

function my_custom_function($profile_user) {
    // Your custom code here
}

Source Code Context

wp-admin/user-edit.php:893 - How this hook is used in WordPress core
<?php
 888  						 *
 889  						 * @since 2.0.0
 890  						 *
 891  						 * @param WP_User $profile_user The current WP_User object.
 892  						 */
 893  						do_action( 'edit_user_profile', $profile_user );
 894  					}
 895  					?>
 896  
 897  					<?php
 898  					/**

PHP Documentation

<?php
/**
						 * Fires after the 'About the User' settings table on the 'Edit User' screen.
						 *
						 * @since 2.0.0
						 *
						 * @param WP_User $profile_user The current WP_User object.
						 */
Quick Info
  • Hook Type: Action
  • Parameters: 1
  • File: wp-admin/user-edit.php
Related Hooks

Related hooks will be displayed here in future updates.