do_action( 'um_profile_before_header', $args )
Fires before User Profile header. It's the first hook at User Profile wrapper.
Internal Ultimate Member callbacks (Priority -> Callback name -> Excerpt):
10 - um_profile_completeness_show_notice()
displays Profile Completeness notices.
Parameters:
Name | Type | Description |
---|---|---|
$args |
array | User Profile data. |
- Since:
- 1.3.x
- Source:
Example
Display some content before User Profile.
function my_um_profile_before_header( $args ) {
// your code here
echo $notice;
}
add_action( 'um_profile_before_header', 'my_um_profile_before_header' );