Delete list of items present in state from database

Hey everyone!
I’ve posted this before but didn’t get any insight so I’m posting this again.
I have a list of items in custom state.
Let’s say the list of items that are present in custom state are A, B and C.
Now I have various lists in my database. Let’s say
List 1 contains A and Z
List 2 contains B and X
List 3 contains C and Y
Now I want to delete A, B and C from their respective lists which are List 1, List 2 and List 3 respectively, just by one click.
Is there any way that I can do this?
Any help would be greatly appreciated.

This topic was automatically closed after 70 days. New replies are no longer allowed.