do_action( 'um_after_profile_header_name', $args, $user_id )
Fires after profile name in the header of the User Profile.
Parameters:
| Name | Type | Description |
|---|---|---|
$args |
array | User Profile data. |
$user_id |
int | User Profile ID. |
- Since:
- 2.11.0 Added $args and $user_id attributes.
- Source:
Example
Display any custom content after profile name in the header of the User Profile.
function my_after_profile_header_name( $args, $user_id ) {
// your code here
}
add_action( 'um_after_profile_header_name', 'my_after_profile_header_name', 10, 2 );