Modify Start and Continue course button

Home Forums Legacy Support Support queries Other issues Modify Start and Continue course button

Viewing 7 posts - 16 through 22 (of 22 total)
  • Author
    Posts
  • #351735
    Veronica
    Moderator
    hi i have added this code to your site please check and confirm
    add_filter('wplms_course_non_loggedin_user','check',9999999,2);
    add_filter('wplms_take_course_button_html','check',9999999,2);
    function check($html,$course_id){
    $html =  'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ';
    return $html;
    }
    #352414
    somenergia
    Spectator
    Hello Veronica. add_filter('wplms_take_course_button_html','check',9999999,2) works well. add_filter('wplms_course_non_loggedin_user','check',9999999,2) only works for non loggein users. I need the same for loggedin users for free courses. Thanks
    #352541
    Veronica
    Moderator
    hi this will not work for logged in user because as soon as the button visible to the user it automatically assigns with API hit
    #353622
    somenergia
    Spectator
    Hello Veronica I have achieved it with wp_footer. Is there a list of wplms available filters?
    #353709
    Veronica
    Moderator
    hi for v3 we have docs available here https://vibethemes.github.io/wplms-docs/developer-guide.html you can check that
    #353775
    somenergia
    Spectator
    Thanks
    #353871
    Veronica
    Moderator
    closing this one if you need further assistance then you can create new topic thanks
Viewing 7 posts - 16 through 22 (of 22 total)
  • The topic ‘Modify Start and Continue course button’ is closed to new replies.