| @@ -294,9 +294,9 @@ | ||
| 294 | 294 | * Required to add the if check for the class existence to resolve phpstan error, |
| 295 | 295 | * as the phpstan configuration ignores the inc/lib directory which gives error |
| 296 | 296 | * unknown class. |
| 297 | 297 | */ |
| 298 | - if ( class_exists( 'SRFM\Inc\Lib\SRFM_Nps_Survey' ) && ! apply_filters( 'srfm_disable_nps_survey', true ) ) { | |
| 298 | + if ( class_exists( 'SRFM\Inc\Lib\SRFM_Nps_Survey' ) && ! apply_filters( 'srfm_disable_nps_survey', false ) ) { | |
| 299 | 299 | SRFM_Nps_Survey::get_instance(); // Inits the NPS Survey class for which inits the NPS Survey plugin. |
| 300 | 300 | Nps_Notice::get_instance(); // Responsible for displaying the NPS Survey: keeping the line out of the check will also work. |
| 301 | 301 | } |
| 302 | 302 | |