apply_filters( 'tec_should_hide_upsell', bool|string $hide , bool|string $slug )
Allows filtering of the Upsells for anything using Common.
Contents
Parameters
- $hide
-
(bool|string) Determines if Upsells are hidden.
- $slug
-
(bool|string) Which slug we are testing against.
Source
Changelog
Version | Description |
---|---|
4.14.16 | Introduced. |