Notice: You are browsing the documentation for PrestaShop 9, which is currently in development.

You might want to read the documentation for the current version, PrestaShop 8. Read the current version of this page

Hook actionCategoryDelete

Informations

Category deletion This hook is displayed when a category is deleted
Hook actionCategoryDelete
Locations
FO
Type action
Origin core
Aliases [categoryDeletion]
Description This hook is displayed when a category is deleted

Located in

Origin File
core classes/Category.php

Call of the Hook in the origin file

Hook::exec('actionCategoryDelete', ['category' => $this, 'deleted_children' => $deletedChildren])