public function filterAvatar( $url, $id_or_email, $args ) {
		if ( ! empty( $args['force_default'] ) ) {
			return $url;
		}

		if ( $this->default_avatar_id === 0 && empty( $this->avatar_user_meta_keys ) ) {
			return $url;
		}

		$id = $this->idOrEmailToId( $id_or_email );

		if ( is_numeric( $id ) ) {
			$filtered_url = $this->getAvatarUrl( (int) $id, $this->getSize( $args ) );
			if ( $filtered_url !== null ) {
				$url = $filtered_url;
			}
		}

		return $url;
	}