Notice: You are browsing the documentation for PrestaShop 9, which is currently in development.

You might want to read the documentation for the current version, PrestaShop 8. Read the current version of this page

Hook actionAdminProductsListingResultsModifier

Informations

Hook actionAdminProductsListingResultsModifier
Locations
BO
Type action
Origin core
Aliases
Description

Located in

Origin File
core src/Adapter/Product/AdminProductDataProvider.php

Parameters details

    <?php
    array(
      '_ps_version' => (string) PrestaShop version,
      'products' => &(PDOStatement),
      'total' => (int),
    );

Call of the Hook in the origin file

Hook::exec('actionAdminProductsListingResultsModifier', [
            '_ps_version' => AppKernel::VERSION,
            'products' => &$products,
            'total' => $total,
        ])