AnsPress_Notification_Hook::undo_vote_down( integer $post_id )
Description #
Notify when user recive an down vote.
Parameters #
- $post_idinteger (Required) Post ID.
Source #
File: addons/free/notification.php
public static function undo_vote_down( $post_id ) { ap_delete_notifications( array( 'ref_id' => $post_id, 'actor' => get_current_user_id(), 'verb' => 'vote_down', ) ); }
Expand full source code Collapse full source code View on GitHub: addons/free/notification.php:392
Add your comment