[memb_profile_url]

Description

Returns the permalink of the requested user's profile. When the profile attribute is set, the URL targets that specific profile page; otherwise the URL for the user's matched profile is returned.

Renders nothing when the user can't be resolved.

Shortcode Examples

[memb_profile_url]

A specific user and profile:

[memb_profile_url user_id="42" profile="coach-directory"]

Shortcode Parameters

user_id

User ID whose profile URL is returned. Default: current user ID.

profile

Profile slug. Default: '' (user's matched profile).

Shortcode Attributes

Attribute Value
Conditional No
Nestable No
Accepts formatting No