Select Page

I found that I can use this for multiple post types as well. just pass an array as the second argument:

function my_remove_wp_seo_meta_box() {
	remove_meta_box('wpseo_meta', ["Post_Type_1","Post_Type_2"], 'normal');
}
add_action('add_meta_boxes', 'my_remove_wp_seo_meta_box', 100);