Warning: You are browsing the documentation for PrestaShop 8, which is outdated.

You might want to read an updated version of this page for the current version, PrestaShop 9. Read the updated version of this page

Learn how to update to the latest version.

Hook actionCategoryAdd

Informations

Category creation This hook is displayed when a category is created
Hook actionCategoryAdd
Locations
FO
Type action
Origin core
Aliases [categoryAddition]
Description This hook is displayed when a category is created

Located in

Origin File
core classes/Category.php

Call of the Hook in the origin file

Hook::exec('actionCategoryAdd', ['category' => $this])