Skip to content

Commit

Permalink
fix (Freemius): Disable opt-in options by default
Browse files Browse the repository at this point in the history
  • Loading branch information
bfintal authored Nov 24, 2022
1 parent b99782b commit d001047
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions freemius.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ function sugb_fs() {
// Disable some Freemius features.
sugb_fs()->add_filter( 'show_deactivation_feedback_form', '__return_false' );
sugb_fs()->add_filter( 'hide_freemius_powered_by', '__return_true' );
sugb_fs()->add_filter( 'permission_diagnostic_default', '__return_false' ); // Disable opt-in option by default
sugb_fs()->add_filter( 'permission_extensions_default', '__return_false' ); // Disable opt-in option by default

// Signal that SDK was initiated.
do_action( 'sugb_fs_loaded' );
Expand Down

0 comments on commit d001047

Please sign in to comment.