filter issue
-
hi all,
I am get terrible support from the providers of the software we purchased, was hoping someone here might have the answer.
We are using an LMS plugin and I entered the below code to change the url slug from “courses” to “classes” which was sent to me from the software company….but they dont answer anymore.
add_filter(‘tutor_courses_base_slug’, ‘change_tutor_course_slug’);
/**
* @param $slug
* @return string
*/
if ( ! function_exists(‘change_tutor_course_slug’)){
function change_tutor_course_slug($slug){
$slug = ‘example-course-slug’;
return $slug;
}
}After entering this it does change my url to desired text, but now when i click a filter search option it goes to a 404 page and i see the string still has the old url word “course”….is there something else i should update?
thanks
gavThe blog I need help with is: (visible only to logged in users)
-
Only the creator/vendor of that plugin is able to give you support. That’s what you paid for.
-
Hi there,
Your site is not hosted on WordPress.com, but using the open source WordPress.org software at another hosting provider.
Please contact support for the plugin you’re using directly for help with this.
For general help with the version of WordPress you’re using, you can ask the WordPress.org community over at https://wordpress.org/support/forums/
- The topic ‘filter issue’ is closed to new replies.