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
buddyc_profile_link()
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
buddyc_profile_ext_link()
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
Return values
string —The url to the profile extension tab.