getCategories( )


Gets the site category information.

The getCategories() function returns a Promise that resolves to the site's category information.

The retrieved category information is the information that has been entered in the General Info section of your site's Dashboard.

Method Declaration
Copy
Request
This method does not take any parameters
Returns
Return Type:Promise<GeneralInfoCategories>
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?