If you’re not going to use the type of content Divi adds called Projects, why take up precious space in your WordPress administration?
It makes no sense to have it there on your desktop taking up space and distracting your editors.
To hide it, just add the following code to your customizations plugin or to the functions.php file of your child theme:
//Hide Divi projects
add_filter( 'et_project_posttype_args', 'mytheme_et_project_posttype_args', 10, 1 );
function mytheme_et_project_posttype_args( $args ) {
return array_merge( $args, array(
'public' => false,
'exclude_from_search' => false,
'publicly_queryable' => false,
'show_in_nav_menus' => false,
'show_ui' => false
));
}
Code language: PHP (php)
And that’s it, the code hides the projects everywhere, even from searches. You will no longer see Divi projects in your admin bar menu.