Duplicate PDF Certificate generated

Home Forums Legacy Support 4.0 Bugs & Issues Duplicate PDF Certificate generated

Viewing 16 post (of 16 total)
  • Author
    Posts
  • #316424
    Anshuman Sahu
    Keymaster
    YEs we went to check the code at your end but could not understand why this is happening at your end only . Please try adding this code adn remove the previous one in your wplms customizer plugin :
    add_action('wplms_certificate_earned',function(){
        $init->certificated_ran = 1;
    });
    add_action('init',function(){
        $init = Wplms_Pdf_Certificates_Init::init();
    
        if(!empty($init->certificated_ran)){ 
            remove_action('wplms_certificate_earned',array($init,'certificate_earned'),999,3);
        
        }
        
    });
Viewing 16 post (of 16 total)
  • The topic ‘Duplicate PDF Certificate generated’ is closed to new replies.