Notifications::unselect_answer( object $_post )
Description #
Remove notification when users answer get unselected.
Parameters #
- $_postobject (Required) Post object.
Source #
File: addons/notifications/notifications.php
public function unselect_answer( $_post ) {
ap_delete_notifications(
array(
'parent' => $_post->post_parent,
'ref_type' => 'answer',
'verb' => 'best_answer',
)
);
}
Expand full source code Collapse full source code View on GitHub: addons/notifications/notifications.php:339
Add your comment