BuddyClients Docs

profile.php

Table of Contents

Functions

buddyc_profile_link()  : mixed
Generates a link to a user's profile.
buddyc_profile_ext_link()  : string
Retrieves profile extension link.

Functions

Generates a link to a user's profile.

buddyc_profile_link([array<string|int, mixed> $args = null ]) : mixed
Parameters
$args : array<string|int, mixed> = null

{ An array of arguments to build the link.

@int     $user_id    Optional. The ID of the user.
@string  $slug       Optional. The slug to append to the profile link.

}

Tags
since
0.4.0

Retrieves profile extension link.

buddyc_profile_ext_link(mixed $key[, int $user_id = null ]) : string
Parameters
$key : mixed
$user_id : int = null

Optional. The ID of the user. Defaults to current user.

Tags
since
0.1.0
Return values
string

The url to the profile extension tab.


        
On this page

Search results