diff --git a/includes/core/um-actions-profile.php b/includes/core/um-actions-profile.php index 520c42c2..da1c67d5 100644 --- a/includes/core/um-actions-profile.php +++ b/includes/core/um-actions-profile.php @@ -863,25 +863,22 @@ function um_profile_header_cover_area( $args ) { data-user_id="" data-ratio=""> Make any custom action in the User Profile cover wrapper. + * function my_cover_area_content( $user_id, $args ) { * // your code here * } - * ?> + * add_action( 'um_cover_area_content', 'my_cover_area_content', 10, 2 ); */ - do_action( 'um_cover_area_content', um_profile_id() ); + do_action( 'um_cover_area_content', um_profile_id(), $args ); if ( true === UM()->fields()->editing ) { $hide_remove = ' style="display:none;"';