Add the sample code below to your child theme's functions.php file or in a site specific plugin.
<?php
//* Do NOT include the opening php tag
//* Remove Essential Grid and Social Warfare meta boxes from event editor
add_action( 'add_meta_boxes_espresso_events', 'espresso_remove_admin_stuff_other_plugins_events' );
function espresso_remove_admin_stuff_other_plugins_events() {
remove_meta_box( 'eg-meta-box', 'espresso_events', 'normal' );
remove_meta_box( 'socialWarfare', 'espresso_events', 'normal' );
}
//* Remove Essential Grid and Social Warfare meta boxes from venue editor
add_action( 'add_meta_boxes_espresso_venues', 'espresso_remove_admin_stuff_other_plugins_venues' );
function espresso_remove_admin_stuff_other_plugins_venues() {
remove_meta_box( 'eg-meta-box', 'espresso_venues', 'normal' );
remove_meta_box( 'socialWarfare', 'espresso_venues', 'normal' );
}
References: