apply_filters( 'llms_product_has_restrictions', bool $has_restrictions , string[] $restrictions , LLMS_Product $product )
Filter whether the product has any purchase restrictions.
Parameters Parameters
- $has_restrictions
-
(bool) Whether the product
$product
has restrictions. - $restrictions
-
(string[]) Array of restrictions placed on the product.
- $product
-
(LLMS_Product) The LLMS_Product object.
Source Source
Changelog Changelog
Version | Description |
---|---|
3.38.0 | Introduced. |