Hello @deepakdcc,
Tutor LMS creates custom post types for courses and 3 user roles- subscriber, editor and admin.
Thread Starter
Deepak
(@deepakdcc)
can you specify post-type and user type slugs? ,
for example , woocommerce mention product_cat, product_tag, shop_order, etc .. here . like this can you let me know, i need to integrate with one of my system.
-
This reply was modified 2 years, 9 months ago by Deepak.
Hello @deepakdcc,
Unfortunately, we don’t have this option to change post type slug
Thread Starter
Deepak
(@deepakdcc)
hi @jobayertuser , its not changing the post type slug, but to list out the post type slugs since im not able to find what it uses
Hello @deepakdcc
It’s easy. Just open the Tutor LMS from your WordPress dashboard and then check the URL. Here you can find the post type we are using.
For example, if you go to the course page for e.g www.yousite.com/wp-admin/edit.php?post_type=courses
, here you can see post_type
value is courses. Right?
I hope you got the point.
Kind Regards.
Thread Starter
Deepak
(@deepakdcc)
thank you, I can find only, courses, tags, and category slugs, but other pages is not showing post types, but there are other types too, for example, LESSONS, QUIZZES, TOPICS, ASSIGNMENTS & TUTOR ENROLLED, and user type ” TUTOR INSTRUCTOR ROLE “
Hello @deepakdcc
Open the Tutor LMS plugin in your Editor and then do a search with this function register_post_type
. Now you can get all the post types we have registered.
Kind Regards.
Thread Starter
Deepak
(@deepakdcc)
i found these, followings ,
QUIZZES = ” tutor_quiz ”
TOPICS = ” topics ”
ASSIGNMENTS = ” tutor_assignments ”
TUTOR ENROLLED = ” tutor_enrolled ”
Course = ” courses ”
just to confirm , let me know if it is correct?
but I can’t find for LESSONS, it is showing ” $lesson_post_type ”
Hell @deepakdcc
The lessons post type is called ‘lesson’.
Kind Regards.