Hide Essential Grid and RevSlider Metaboxes

If you have no use for the meta data from RevSlider and Essential Grid and want to get rid off the boxes there are two ways to do so.

a) Turn off the corresponding screen options of the single post type:
b) Include a filter deleting the output for all post types:

Thanks to William Bijker for providing this solution to us!