Skip to main content

Overview

Returns a function that fetches the total count of accepted connections for the currently authenticated user.
Users with a block between them and you, in either direction, are excluded from the count. Requires the moderation bundle.

Usage Example

Parameters

The hook returns a function that takes no parameters.

Returns

number
Total number of accepted connections for the current user.