Admin_UI::remove_featured_image_meta_box( $post )

Summary

Remove the featured image metabox to prevent editing of the automatically assigned featured image


Return

(void)


Source

File: src/BigCommerce/Post_Types/Product/Admin_UI.php

	public function remove_featured_image_meta_box( \WP_Post $post ) {
		remove_meta_box( 'postimagediv', get_current_screen(), 'side' );
	}

User Contributed Notes

You must log in before being able to contribute a note or feedback.