Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jose

    (@giuse)

    Hi @alexis14

    this checkbox had to be shown only to users who have the rights to activate plugins. All other users will not see it any more with the future versions.

    If you want to totally disable it, you can update to the beta version 1.9.4.1.beta-1 and add this line in wp-config.php before the comment /* That’s all, stop editing! Happy publishing. */:

    define( 'FDP_REMOVE_PROFILE_PREFERENCES',true );

    You can download here the beta version: https://downloads.www.ads-software.com/plugin/freesoul-deactivate-plugins.1.9.4.1.beta-1.zip

    Or, if you prefer it, you can also keep the actual version v. 1.9.4.0, and add these lines of code in the functions.php of your child theme if any, or in a functional plugin:

    add_action( 'admin_init',function(){
    remove_action( 'show_user_profile','eos_dp_user_preferences' );
    } );

    Have a great day!

    Jose

    • This reply was modified 2 years, 1 month ago by Jose.
    Thread Starter alexis14

    (@alexis14)

    Perfect ! Thanks for your answer !

    Plugin Author Jose

    (@giuse)

    You are welcome @alexis14

    Many thanks to you.

    Have a great day!

    Jose

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘how to disable FDP preferences in profile’ is closed to new replies.