Clanbite Social Kit Since 1.5.0

author_may_mention( int $author_id, int $target_id ): bool

Whether an author may @mention a member, by that member's privacy setting (Anyone, Friends, No one).

public static

Class: Kernowdev\ClanbiteSocialKit\Social\Mentions

Parameters

$author_id (int) Required

Author.

$target_id (int) Required

Member being mentioned.

Returns

bool

Defined in inc/Social/Mentions.php

Changelog

VersionDescription
1.5.0Introduced.