change the register_url
-
Hello there,
I would like to be able to change the link that appears when you are not registered in the store when buying a course. That is, in the pop-up window that appears the option to register once you add a course to the cart.I have asked Tutor LMS support and they have told me that I should change the register_url function found in \ wp-content \ plugins \ tutor \ classes \ Utils.php
”
public function student_register_url () {
$ student_register_page = (int) $ this-> get_option (‘student_register_page’);if ($ student_register_page) {
return get_the_permalink ($ student_register_page);
}return false;
}
”Please, could you tell me how I should modify this function so that when you click on the link it will direct you to the page
“https://lucificacionart.es/mi-cuenta/”Thank you
The page I need help with: [log in to see the link]
- The topic ‘change the register_url’ is closed to new replies.