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 deleteProductAttribute

Informations

Hook deleteProductAttribute
Locations
FO
Type
Origin core
Aliases
Description

Located in

Origin File
core classes/Product.php

Call of the Hook in the origin file

Hook::exec(
            'deleteProductAttribute',
            [
                'id_product_attribute' => $id_product_attribute,
                'id_product' => $this->id,
                'deleteAllAttributes' => false,
            ]
        )