Plugin Directory


Ignore:
Timestamp:
03/12/2026 11:46:10 AM (2 weeks ago)
Author:
brainstormworg
Message:

Update to version 2.5.2 from GitHub

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sureforms/trunk/plugin-loader.php

    r3452102 r3481119  
    1212use SRFM\Admin\Analytics;
    1313use SRFM\Admin\Notice_Manager;
     14use SRFM\Inc\Abilities\Abilities_Registrar;
    1415use SRFM\Inc\Activator;
    1516use SRFM\Inc\Admin_Ajax;
     
    3536use SRFM\Inc\Gutenberg_Hooks;
    3637use SRFM\Inc\Helper;
    37 use SRFM\Inc\Lib\SRFM_Nps_Survey;
    38 use SRFM\Inc\Nps_Notice;
     38use SRFM\Inc\Learn;
    3939use SRFM\Inc\Onboarding;
    4040use SRFM\Inc\Page_Builders\Page_Builders;
     
    216216        Payments::get_instance();
    217217        Duplicate_Form::get_instance();
     218        Learn::get_instance();
    218219    }
    219220
     
    307308        DatabaseRegister::init();
    308309        Form_Restriction::get_instance();
     310        Abilities_Registrar::get_instance();
    309311        // Initializing Compatibilities.
    310312        Astra::get_instance();
    311         /**
    312          * Required to add the if check for the class existence to resolve phpstan error,
    313          * as the phpstan configuration ignores the inc/lib directory which gives error
    314          * unknown class.
    315          */
    316         if ( class_exists( 'SRFM\Inc\Lib\SRFM_Nps_Survey' ) && ! apply_filters( 'srfm_disable_nps_survey', false ) ) {
    317             SRFM_Nps_Survey::get_instance(); // Inits the NPS Survey class for which inits the NPS Survey plugin.
    318             Nps_Notice::get_instance(); // Responsible for displaying the NPS Survey: keeping the line out of the check will also work.
    319         }
    320313
    321314        /**
Note: See TracChangeset for help on using the changeset viewer.