mycred_users_profile_url
Description
This filter allows you to adjust what URL the %user_profile_url% and the %user_profile_link% template tags point to.
By default, myCRED will use WordPress default author url setup, unless you have BuddyPress or bbPress installed, in which case, the profile URLs these plugins use are returned.
As of version 1.7.4 this filter has been moved from the myCRED_Settings class to the mycred_get_users_profile_url function.
Available since version 1.3
Parameters
Param | Type | Required | Description |
---|---|---|---|
$url |
string | Yes | The profile url string. |
$user |
obj | No | The WordPress user object. |
Used By
Package | Prio. | Description |
---|---|---|
mycred/core | 10 | Used by the mycred_get_users_profile_url function. |
Examples
No example found.