* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ if (!defined('_PS_VERSION_')) { exit; } function upgrade_module_3_13_0(Ps_Facetedsearch $module) { $newHooks = [ 'actionFeatureValueFormBuilderModifier', 'actionAfterCreateFeatureValueFormHandler', 'actionAfterUpdateFeatureValueFormHandler', ]; // Flush block cache, we changed availability logic a bit $module->invalidateLayeredFilterBlockCache(); return $module->registerHook($newHooks); }