Filter: sensei_learner_profile_info_avatar

apply_filters( 'sensei_learner_profile_info_avatar', $user_avatar, $user_id ) → {false|string}

This filter runs inside the Sensei_Learner_Profiles::user_info function. Here you can change the user avatar.

Parameters:
Name Type Description
$user_avatar false | string

The user avatar.

$user_id int

The user ID.

Since:
  • 1.0.0
Source:
Returns:

The filtered avatar.

Type
false | string