Clanbite Avatars Since 1.2.0 Updated in 1.3.0
apply_filters( 'clanbite_groups_get_profile_url', string $url, int $id )Resolves a group's profile URL for avatar links.
Core ships no group implementation; the plugin that owns cp_group should return the URL here.
Filter PHP
Parameters
$url(string)Profile URL (empty by default).
$id(int)Group ID.
Example
add_filter( 'clanbite_groups_get_profile_url', function ( $url, $id ) {
// Change $url here.
return $url;
}, 10, 2 );Defined in inc/avatar-helpers.php
Changelog
| Version | Description |
|---|---|
| 1.3.0 | Updated. |
| 1.2.0 | Introduced. |