Sorry – missed this query.
And you have a point – if you delete a quiz pot, currently that won’t be updated in the quizzes that have that pot in them.
I will need to figure out the pest process for handling this.
Also, the questions in the pot WON’T be deleted – just be orphaned. Again, I’m not sure the best way of handling this – removing questions would be expected behaviour I assume.
I’ll also take a look at the pot delete issue.
Hi Alex.
I am aware of the implementation difficulties and wish you can find the inspiration you need to pull it off.
BW.
Humberto
Hi – the latest version as this working for you.
Hi Alex. It works.
I created a test Pot (Delete Me) and filled it with 2 questions. Then a created a quiz and used the 2 questions from the “Delete me” pot. After that, I went back to the “Delete Me” pot and deleted it.
It worked as expected. And it was an excellent idea to include a warning message.
When I checked the Quizzes here (wp-admin/edit.php?post_type=ek_quiz), the quiz that used the questions from the “Delete Me” port still listed two questions in the second column.
However, I had no problems to trash the quiz and delete it permanently.
You may wish to check into this minor issue at a later time.
Thanks for the implementation.
BW,
Humberto