Going to WordPress Media Library and clicking on any image when in the List view will show the Oxygen’s meta box at the bottom.
Let us see how we can get rid of this as it is of no use on media pages.
Method 1
When on any Edit Media page, click on Screen Options near the top right and uncheck Oxygen.
Note that this change is specific to the current user and does not apply to all the users.
Method 2
This method removes the meta box by default for all the users.
Install and activate Code Snippets plugin.
Go to Snippets > Add New.
Title: Remove Oxygen meta box from Edit Media pages
Code:
add_action( 'do_meta_boxes', 'custom_remove_oxygen_metabox_media' );
/**
* Remove Oxygen meta box from Edit Media pages.
*/
function custom_remove_oxygen_metabox_media() {
remove_meta_box( 'ct_views_cpt', 'attachment', 'normal' );
}
Set it to run only in the admin.
That’s it!
References:
https://codex.wordpress.org/Function_Reference/remove_meta_box