On the page where we list all posts made:
There is a Screen Options tab in the upper right corner. Upon clicking this, a menu slides down. Contained within this slide down menu, are check boxes. When checking or unchecking these check boxes, certain columns in the post table are shown/hidden, depending on whether they are checked or not.
I am looking for a way to programmatically obtain a list of all of these registered Screen Options for this post type (Default post type: post). Once I obtain a list of these registered screen options, I will check to see if a certain array of options are listed. If they match a listed item, I plan on removing those options.
Question How can I programmatically obtain a list of all registered Screen Options on post types (page with table listing each post)?
Looking for a solution similar to the solution provided for removing certain screen options and meta boxes from add/edit post type.