um_profile_id()

Description

This function can be used in the user profile page created by UM and returns the user ID of the current profile.

Example

$profile_id = um_profile_id();