Setting up hooks for when a user completes a course

Home Forums Legacy Support Support queries Setup issues Setting up hooks for when a user completes a course

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #94419
    BrianOJee
    Spectator
    Hi. Is it possible to set up hooks (using HookPress) for when a user submits a course.   Thanks
    #94491
    Anshuman Sahu
    Keymaster
    Well wplms already have many hooks present in it .you can use them . wplms_submit_course hook already presnt in theme . it have two params : $course_id,$user_id . use it like this : add_action('wplms_submit_course','custom_action'); function custom_action($course_id,$user_id){  //custom code }
    #94530
    BrianOJee
    Spectator
    Cool, thanks!
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Setting up hooks for when a user completes a course’ is closed to new replies.