Introduce EDD_DOING_API to allow other systems to know when an API request is being done