PrestaShop Developer Conference
PrestaShop Developer Conference
November 6, 2024
Let's talk code, commerce and open source.

Hook filterSupplierContent

Informations

Filter the content page supplier This hook is called just before fetching content page supplier
Hook filterSupplierContent
Locations
FO
Type
Origin core
Aliases

This hook has a $chain parameter set to true (hook will chain the return of hook module, see explaination here).

Located in

Origin File
core controllers/front/listing/SupplierController.php

Call of the Hook in the origin file

Hook::exec(
            'filterSupplierContent',
            ['object' => $supplierVar],
            $id_module = null,
            $array_return = false,
            $check_exceptions = true,
            $use_push = false,
            $id_shop = null,
            $chain = true
        )