The H5P WordPress integration does not support native-to-WordPress ideas such as content revisions or trash. This means that if you accidentally delete your H5P content, or intentionally delete it and then, at a later date, need to undelete it, then your only recourse is crossing your fingers that we have a backup and are able to isolate your piece of H5P content out of that backup and then re-upload it for you.
Hope, as they say, is not a strategy, and as such we propose to create a trash mechanism for H5P Content within WordPress. This will work similarly to WordPress’s native trash whereby when you ‘delete’ a piece of H5P content it is moved to a ‘trash’, removed from being publicly accessible, and doesn’t appear in content listings in the front- or back-end of the platform. If you truly need to delete the content, you would then clear the trash. (We will still have backups so if you make a double-oops, it’s quite possible we’ll still have your back)
We propose to build this in a generic way which would help other users of the H5P WordPress plugin outside of the UBC H5P Open Hub.
Update: This is now live on the platform. See the details on H5P Content Recovery.