This code snippet doesn’t disable Divi’s own custom post type called Projects, but rather just removes it from view in the admin area. For numerous reasons you don’t want to remove the Projects custom post type (screwed up templates, time outs, etc.)

1<?php //* Mind this opening php tag
2 
3add_filter( 'et_project_posttype_args', 'mytheme_et_project_posttype_args', 10, 1 );
4function mytheme_et_project_posttype_args( $args ) {
5  return array_merge( $args, array(
6    'public'              =&gt; false,
7    'exclude_from_search' =&gt; false,
8    'publicly_queryable'  =&gt; false,
9    'show_in_nav_menus'   =&gt; false,
10    'show_ui'             =&gt; false
11  ));
12}

Credit and thanks goes to georgiee on Github. Snippet found in this thread.