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 actionCarrierUpdate

Informations

Carrier Update This hook is called when a carrier is updated
Hook actionCarrierUpdate
Locations
BO
Type action
Origin core
Aliases [updateCarrier]

Located in

Origin File
core controllers/admin/AdminCarriersController.php

Call of the Hook in the origin file

Hook::exec('actionCarrierUpdate', [
                                    'id_carrier' => (int) $current_carrier->id,
                                    'carrier' => $new_carrier,
                                ])