apply_filters( 'clanbite_avatar_alt_text', string $alt, string $type, int $id )Filter avatar alt text.
Filter PHP
Parameters
$alt(string)Alt text.
$type(string)Entity type.
$id(int)Entity ID.
Example
add_filter( 'clanbite_avatar_alt_text', function ( $alt, $type, $id ) {
// Change $alt here.
return $alt;
}, 10, 3 );Defined in inc/avatar-helpers.php
Changelog
| Version | Description |
|---|---|
| 1.2.0 | Introduced. |