• Resolved rahmatid2

    (@rahmatid2)


    Suggestion: Only Administrators can change the settings, now all users can change the settings for this plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Remon Pel

    (@rmpel)

    you can use

    add_filter( 'bsi_management_permission', function() { return 'manage_options' } );

    in your theme or mu-plugin to make it admin-only.

    ( this is based on looking at the code )

    Thread Starter rahmatid2

    (@rahmatid2)

    Error message: syntax error, unexpected token , expecting ;

    Plugin Contributor Remon Pel

    (@rmpel)

    sorry, typo.

    add_filter( 'bsi_management_permission', function() { return 'manage_options'; } );
Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.