get_public_team_data_by_slug_or_url( string $slug, string $url ): array<string, mixed>|\WP_ErrorResolve public team metadata by slug or absolute team profile URL.
public static
Class: Kernowdev\Clanbite\Public_Rest
Parameters
$slug(string) RequiredRequested
cp_teampost_name (may be empty whenurlis set).$url(string) RequiredFull team profile URL (optional).
Returns
array<string, mixed>|\WP_Error
Defined in inc/class-public-rest.php