Class Disciple_Tools_Notifications_Comments
| package |
Disciple_Tools\Notifications |
|---|
__construct()
add_mention_notification(integer $mentioned_user_id, integer $source_user_id, integer $post_id, integer $comment_id, string $notification_action, string $notification_note, $date_notified, string $field_key = "comments", string $field_value = "")
integer
integer
integer
integer
string
string
string
string
check_for_mention( $comment_content) : boolean
If mention is found, returns true. If mention is not found, returns false.
boolean
delete_mention_notification(integer $mentioned_user_id, integer $post_id, integer $comment_id, $date_notified)
integer
integer
integer
match_mention( $comment_content) : boolean|array
boolean|array
Filter comment for notification
Arguments
$comment_id
$comment
nullResponse
array|\WP_Error