Hook filterSupplierContent

Informations

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

This hook has a $check_exceptions parameter set to false (check permission exceptions, see explaination here).

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

$filteredSupplier = Hook::exec(
    'filterSupplierContent',
    ['object' => $supplierVar],
    null,
    false,
    true,
    false,
    null,
    true
);