mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 07:17:57 +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 ```