createCategory( )
Creates a category.
Admin Method
This function requires elevated permissions and runs only on the backend and on dashboard pages.
Method Declaration
Copy
Method Parameters
categoryCategoryRequired
Category to create.
Returns
Return Type:Promise<Category>
Was this helpful?
Yes
No