da_r_after_delete_user_reaction

Location:

DaReactions\Data::deleteUserReaction

Triggered after a user’s reaction is deleted.

Parameters:

  • $item_id  (int|string): The ID of the item.
  • $item_type  (string): The type of the item.
  • $user_token  (string): The user token.

Example:

add_action('da_r_after_delete_user_reaction', function($item_id, $item_type, $user_token) {
    error_log("Deleted reaction for item $item_id of type $item_type by user $user_token.");
});

Use Case:

Trigger cleanup operations or update external systems.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us