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

Hook filterCategoryContent


Filter the content page category:

This hook is called just before fetching content page category

Hook locations:

  • front office

Located in:

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

Parameters details

        'object' => (object) Category object

Call of the Hook in the origin file

            ['object' => $categoryVar],
            $id_module = null,
            $array_return = false,
            $check_exceptions = true,
            $use_push = false,
            $id_shop = null,
            $chain = true