Knock.Preferences.set_category

You're seeing just the function set_category, go back to Knock.Preferences module for more information.
Link to this function

set_category(client, user_id, category_key, setting, options \\ [])

View Source
This function is deprecated. Use Users.set_category_preferences/5 instead.

Sets the workflow preference for the user