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


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!




Need help implementing a tutorial in your site or want to hire me for custom work?


Find the article helpful and wish to donate?



You need to be logged in to view and post comments.
Not a member yet? Join here.
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram
%d bloggers like this: