image of WordPress dashboard highlighting LearnPress menu
I wanted to know how to make one custom post-type a menu item for another custom post type. As you can see in the image, the way LearnPress has in its menu Courses, Lessons, etc. There LearnPress must be a custom post type and Courses, Lessons, etc. must be custom post types themselves.
But how to make one as a menu item of another? Can it be done using the CPT-UI plugin?
Just add below code in your functions.php file.
Or you can customize your new post name Label, Name, etc.. from here: https://generatewp.com/post-type/