AnsPress_Notification_Hook::delete_reputation( integer|false $deleted, integer $user_id, string $event )

Description #

Notify user on new reputation.

Parameters #

  • $deleted
    integer | false (Required) NUmbers of rows deleted.
  • $user_id
    integer (Required) User id.
  • $event
    string (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,
		) );
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment