mirror of
https://github.com/discourse/discourse.git
synced 2025-03-02 11:24:26 +08:00

Plugins can use a new modifier to change which site settings are hidden using the :hidden_site_settings modifier. For example: ``` register_modifier(:hidden_site_settings) do |hidden| (hidden + [:invite_only, :login_required]).uniq end ```