Changing the Instructing Courses slug

From version 1.8.3 we’ve added a custom slug called “Instructing-courses”. When this slug is appended to an instructors author profile it will show all the courses published by him.
In this tutorial we’ll learn how to edit this slug.

1. Go to WP Admin -> Plugins -> editor -> WPLMS Customizer -> customizer_class.php
2. Add following line of code in __construct function :

PHP Code:

3. Add following code in the class :

PHP Code:
function wplms_instructing_courses_endpoint($endpoint){
return 'instructing-cursos';

Refer Video tutorial :

Was this article helpful?

Related Articles