bp_get_activity_avatar_item_id, $item_id

bp_get_activity_avatar_item_id, $item_id

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: buddypress.14.5.2

apply_filters('bp_get_activity_avatar_item_id, $item_id') is found 1 times:

  • /bp-activity/bp-activity-template.php line 1082
    		 * @since 1.2.10
    		 *
    		 * @param int $item_id Item ID for the activity avatar.
    		 */
    		$item_id = apply_filters( 'bp_get_activity_avatar_item_id', $item_id );
    
    		// If this is a user object pass the users' email address for Gravatar so we don't have to prefetch it.
    		if ( 'user' == $object && empty( $r['user_id'] ) && empty( $r['email'] ) && isset( $current_activity_item->user_email ) ) {
    			$r['email'] = $current_activity_item->user_email;
    		}