Legacy Documentation
You are using the documentation for version 3.5.17. Go here for the latest version or check here for your available upgrades to the latest version.
Admin Content Controller Extension Hooks¶
category_delete¶
-
category_delete
($cat_ids)¶ 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);
Parameters: - $cat_ids (array) – Array of category IDs being deleted
Return type: Void
New in version 2.7.0.
category_save¶
-
category_save
($cat_id, $data)¶ 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);
Parameters: - $cat_id (int) – ID of category saved
- $category_data (array) – Category meta data
Return type: Void
New in version 2.7.0.
foreign_character_conversion_array¶
See Content_publish’s foreign_character_conversion_array
.