I have setup a plugin which runs after a customer is saved. This means that the plugin runs on the following situations
Frontend
- When a customer register
- When a customer updates their name
Backend
- When an admin registers a customer
- When an admin updates a customer
What I would like to know is, how can I see which one of the 4 options has triggered the plugin to run?
The reason for this is that I would like to have slightly different logic in the plugin if the admin saves a customer