CategoryManagerPage::addCategory
Add a new Category item in the Category Manager: Category Manager Screen.
Signature
public function addCategory([string
$name = 'ABC Testing',
[string
$desc = 'System Test Category',
array
$fields]] )
Parameters
-
$name
- Test Category Title
-
$desc
- Test Description of Category
-
$fields
- Optional associative array of fields to set
Returns
- CategoryManagerPage