My website allows 2 types of users to register – clients and trainers.
When the client and trainers register thru separate links they are added to either a client or trainer WP MySQL DB I created.
Then a client can request to purchase training advice.
Once the client Pays for training a message is sent to all registered trainers.
I see this message come to all trainers successfully.
Each of the trainers can reply.
I only want to allow the first trainer’s reply to make it back to the client.
When other trainers reply I don’t want their message to make it back to the trainer.
Ideally these later replies from the trainers would get a message saying the client has already found a trainer.
Not sure how to accomplish this.