apply_filters( 'clanbite_avatar_html', string $output, array $args )Filter the complete avatar HTML output.
This is the main filter point for customizing avatar rendering. Third-party developers should use this filter to customize ALL avatars across the site in one place.
Filter PHP
Parameters
$output(string)Avatar HTML markup.
$args(array)Avatar arguments (includes 'context' key for targeting specific locations).
Example
add_filter( 'clanbite_avatar_html', function ( $output, $args ) {
// Change $output here.
return $output;
}, 10, 2 );Defined in inc/avatar-helpers.php
Changelog
| Version | Description |
|---|---|
| 1.2.0 | Introduced. |