AnsPress_Notification_Hook::delete_reputation( integer|false $deleted, integer $user_id, string $event )
Description #
Notify user on new reputation.
Parameters #
- $deletedinteger | false (Required) NUmbers of rows deleted.
- $user_idinteger (Required) User id.
- $eventstring (Required) Reputation event.
Source #
File: addons/free/notification.php
public static function delete_reputation( $deleted, $user_id, $event ) { ap_delete_notifications( array( 'ref_type' => 'reputation', 'user_id' => $user_id, ) ); }
Expand full source code Collapse full source code View on GitHub: addons/free/notification.php:424
Add your comment