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 actionCarrierUpdate

Informations

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

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,
                                ])