1

How to create an event on customer remove from backend.? what is the name of the event? I need to remove customer's data from my custom table after removing a customer from the backend.

1
  • when the admin deletes the customer
    – Robinio
    Jun 11, 2019 at 11:22

1 Answer 1

2

Solution already shared here

Customer delete before observer

Please try using plugin.

1
  • In this case, while the linked answer works. I would recommend using an after plugin rather than the suggested around. Since we don't need to terminate further executions. See the following link for more details about it. devdocs.magento.com/guides/v2.3/extension-dev-guide/…
    – Sam
    Jun 11, 2019 at 17:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.