I have created my own sql table and displaying records using wp_list_table. I am deleting ok from bulk_actions using wp_list_table, but obviously it is not good practice to delete without some kind of confirmation.
I would like to know how to implement a delete confirmation which would display a message like "Are you sure you would like to delete [course name]?" and have YES|NO buttons.
I need to display the confirmation message that returns Yes or No, then once the data/record is deleted, return to the wp_list_table page.
Thank you.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire