not possible anymore to programmatically enrol user
-
Hello
in my code I was used to programmatically enrol the user in some situations, here an extract of my code:
$user = learn_press_get_user( $user_id,false ); $user->enroll( $item_id, $order_id );
But now it doesn’t work anymore as confirmed by the deprecation message that I found in the debug.log file:
enroll is deprecated since version 4.1.0 with no alternative available
Does “with no alternative available” mean that I have to trash all the systems that I build around your plugin? If so, it means all the websites that are implementing this system can not have the update of your plugin.
I hope that deprecated message is a mistake and you have an alternative.Thank you in advance for your help.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘not possible anymore to programmatically enrol user’ is closed to new replies.