custum page private course didn' work

Home Forums Chit Chat WPLMS customizations custum page private course didn' work

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #50977
    elciospy
    Participant
    I'm trying to folow this tutorial to customize my private course button but not successful... https://wplms.io/support/knowledge-base/connect-private-course-button-to-a-custom-page/ It's my class
    
    <!--?php if(!class_exists('WPLMS_Customizer_Plugin_Class')){ 
    class WPLMS_Customizer_Plugin_Class{ public function __construct(){
       add_filter('wplms_private_course_button',array($this,'wplms_private_course_button'),1,1); 
    
    } // END public function __construct 
    
       function wplms_private_course_button($link){ 
           return '/pacotes'; 
       } 
    }
    } ?-->
      What i me doing wrong? see attachment if messy code. thanks in advance!
    #51180
    elciospy
    Participant
    Solution is here https://wplms.io/support/forums/topic/how-to-change-url-private-course/#post-51178 Thank you support!
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘custum page private course didn' work’ is closed to new replies.