count_profile_status_posts_visible_to_viewer( int $author_id, int $viewer_id ): intCount post_type = status rows for a player profile, respecting the same visibility rules as self::query_profile_feed().
public static
Class: Kernowdev\ClanbiteSocialKit\Social\Data_Access
Parameters
$author_id(int) RequiredPost author (player) user ID.
$viewer_id(int) Required0 if logged out.
Returns
int
Defined in inc/Social/Data_Access.php