um_user_avatar_url_filter
Hook type
Filter
Description
Change user avatar URL
Parameters
$avatar_uri
(string) Avatar URL
$user_id
(int) User ID
Usage
add_filter( 'um_user_avatar_url_filter', 'function_name', 10, 2 );
Examples
<?php add_filter( 'um_user_avatar_url_filter', 'my_user_avatar_url', 10, 2 ); function my_user_avatar_url( $avatar_uri ) { // your code here return $avatar_uri; } ?>
Change Log
Since: 2.0
Source
um_user_avatar_url_filter
is located in includes/um-short-functions.php::line 2098