AnsPress_Notification_Hook::delete_comment( object $comment )
Description #
Remove notification on deleting comment.
Parameters #
- $commentobject (Required) Comment object.
Source #
File: addons/free/notification.php
public static 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/free/notification.php:326
Add your comment