PrestaShop Developer Conference
PrestaShop Developer Conference
Paris, France - November 30, 2023
Let's talk code, commerce and open source.

Hook actionAjaxDie<Controller><Method>Before


Hook locations:

  • front office

Hook type: action

Located in:

Call of the Hook in the origin file

Before 8.1

Hook::exec('actionAjaxDie' . $controller . $method . 'Before', ['value' => $value])

From 8.1

Hook::exec('actionAjaxDie' . $controller . $method . 'Before', ['value' => &$value])
Note that the value is now passed by reference