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 actionOutputHTMLBefore

Informations

Before HTML output This hook is used to filter the whole HTML page before it is rendered (only front)
Hook actionOutputHTMLBefore
Locations
FO
Type action
Origin core
Aliases
Description This hook is used to filter the whole HTML page before it is rendered (only front)

Located in

Origin File
core classes/controller/FrontController.php

Call of the Hook in the origin file

Hook::exec('actionOutputHTMLBefore', ['html' => &$html])