Appendix A. Native Hooks

The following table displays 145 different hooks available in PrestaShop:

Hook name

Description

Parameters

Files

actionAdminControllerSetMedia

This hook is used to include a CSS or JS file in the back office header.

None

/classes/controller/AdminController.php

actionAdminMetaSave

The AdminMeta controller corresponds to the SEO & URLs tab in the back office. The hook is used to add actions to this tab after a configuration change.

None

/controllers/admin/AdminMetaController.php

actionAdminOrdersTrackingNumberUpdate

This hook is used to trigger actions after a tracking number is updated on an order in the back office (for example, send an e-mail with the tracking number to the customer).

  • order: This ...

Get PrestaShop Module Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.