Clanbite

clanbite_teams_get_team_profile_url_for_slug( string $slug ): string

Canonical front-end URL for a team profile given its post_name slug.

Parameters

$slug (string) Required

Team slug (post_name).

Returns

string Empty when Teams is inactive or the slug is invalid.

Defined in inc/extensions/teams/functions.php