um_avatar_image_alternate_text
Hook type
Filter
Description
Change avatar image alt
Parameters
$avatar_alt
(string) Image alternate text. Display name by default
Usage
<?php add_filter( 'um_avatar_image_alternate_text', 'function_name', 10, 1 ); ?>
Examples
<?php add_filter( 'um_avatar_image_alternate_text', 'my_avatar_image_alternate_text', 10, 1 ); function my_avatar_image_alternate_text( $avatar_alt ) { // your code here return $avatar_alt; } ?>
Change Log
Since: 2.0
Source
um_avatar_image_alternate_text
is located in includes/core/um-filters-avatars.php::line 63