Clanbite

get_team_profile_url_for_slug( string $slug ): string

Public profile URL for a team slug (cp_team permalink, or fallback from the registered rewrite slug).

public

Class: Kernowdev\Clanbite\Extensions\Teams

Parameters

$slug (string) Required

Post name (post_name).

Returns

string Empty when the slug is invalid.

Defined in inc/extensions/teams/class-extension-teams.php