I have a custom post type «teams» with a set of different custom fields (ACF). I'm not a big coder, but hope to get some guidance in how to create a function that sends an email including ACF every time one of the teams (CPT) is updated by a WP-user.
I've found plugins that accomplish this, but unfortunately I need a bit more complex solution. The problem is the email should ONLY include custom fields that actually has changed. So I need to loop through and check each custom field for any change, and then only include the fields that has a new value in the final email.
I guess I'm asking if this is a very difficult task, or could it be done in a rather simple way? All sources would be very appreciated!