Admin Content Controller Extension Hooks
category_delete($cat_ids)
Parameter | Type | Description |
---|---|---|
$cat_ids | Array |
Array of category IDs being deleted |
Returns | Void |
This hook is executed when a category is deleted via the control panel. It can be used to perform additional actions before the category is deleted.
How it’s called:
ee()->extensions->call('category_delete', $cat_ids);
category_save($cat_id, $data)
Parameter | Type | Description |
---|---|---|
$cat_id | Int |
ID of category saved |
$category_data | Array |
Category meta data |
Returns | Void |
This hook is executed when a new category is saved or an existing category was edited via the control panel. It can be used to perform additional actions after the category is saved.
How it’s called:
ee()->extensions->call('category_save', $cat_id, $category_data);
foreign_character_conversion_array
See Content_publish’s foreign_character_conversion_array
.