How to archive content without deleting in Content Manager

You can also enable the draft/published feature to control the visibility on the live site so no one else can access to draft content. No code is required. I don’t recommend filter on the dataset element because someone can still bypass the filter and see all data (similar to hack). if you need to go over the filter method, do it with the data.js (hook)