Notifications::delete_comment( object $comment )
Description #
Remove notification on deleting comment.
Parameters #
- $commentobject (Required) Comment object.
Source #
File: addons/notifications/notifications.php
public function delete_comment( $comment ) { ap_delete_notifications( array( 'actor' => $comment->user_id, 'parent' => $comment->comment_post_ID, 'ref_type' => 'comment', ) ); }
Expand full source code Collapse full source code View on GitHub: addons/notifications/notifications.php:376
Add your comment