Gets a category with the specified slug.
The slug is at the end of the URL of a specific category.
For example, if a category's URL is https://example.com/blog/categories/famous-cats
, the slug is famous-cats
.
The slug is a case-sensitive string that is derived from the category's label, unless specified otherwise.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.