AnsPress_Notification_Hook::unselect_answer( object $_post )
Description #
Remove notification when users answer get unselected.
Parameters #
- $_postobject (Required) Post object.
 
Source #
File: addons/free/notification.php
	public static 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/free/notification.php:293
  Add your comment